mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 21:49:10 +00:00
(svn r1629) added a counter to tell how many engines you have of each type to the autoreplace vehicle windows and made them show only the vehicles you actually have in the left list.
this also fixes some window updates issues when autoreplacing
This commit is contained in:
@@ -431,7 +431,8 @@ VARDEF byte _vehicle_design_names;
|
||||
#define MAX_BRIDGES 13
|
||||
|
||||
/* Autoreplace vehicle stuff*/
|
||||
VARDEF byte _autoreplace_array[255];
|
||||
VARDEF byte _autoreplace_array[256];
|
||||
VARDEF uint16 _player_num_engines[256];
|
||||
|
||||
/* Debugging levels */
|
||||
VARDEF int _debug_spritecache_level;
|
||||
|
Reference in New Issue
Block a user