1
0
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:
bjarni
2005-01-23 22:01:51 +00:00
parent dd6a6fa7ec
commit 6510b12203
7 changed files with 103 additions and 45 deletions

View File

@@ -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;