(svn r3396) - Autoreplace changes:
- Change fixed array per player to a single pool. This avoids future problems
with vehicle numbers and decreases savegame size. Engine replacements from
previous savegames will be lost.
- Move engine replacement code from players.c to engine.c.
(thanks to blathijs for rewriting this)
This commit is contained in:
@@ -427,7 +427,6 @@ VARDEF uint16 _aircraft_refit_capacity;
|
||||
VARDEF byte _cmd_build_rail_veh_score;
|
||||
|
||||
#define INVALID_VEHICLE 0xFFFF
|
||||
#define INVALID_ENGINE 0xFFFF
|
||||
|
||||
/* A lot of code calls for the invalidation of the status bar, which is widget 5.
|
||||
* Best is to have a virtual value for it when it needs to change again */
|
||||
|
||||
Reference in New Issue
Block a user