(svn r6137) -Codechange: some very minor cleanups:

- Start using DeleteXXX for every pool item, not manually doing it
  - Use some wrapper to improve logic
  - Rewrote some pieces to improve logic
This commit is contained in:
truelight
2006-08-26 14:22:54 +00:00
parent be737b80d3
commit 602c0d40b3
9 changed files with 60 additions and 42 deletions

View File

@@ -430,7 +430,9 @@ static inline Vehicle *GetFirstVehicleFromSharedList(Vehicle *v)
VARDEF VehicleID _new_vehicle_id;
VARDEF uint16 _returned_refit_capacity;
#define INVALID_VEHICLE 0xFFFF
enum {
INVALID_VEHICLE = 0xFFFF,
};
/**
* Get the colour map for an engine. This used for unbuilt engines in the user interface.