summaryrefslogtreecommitdiff
path: root/variables.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-01-23 22:01:51 +0000
committerbjarni <bjarni@openttd.org>2005-01-23 22:01:51 +0000
commitcf862380fcf8b3bd83b338fdecb3126bec8b2d4f (patch)
tree7af224941eb94f777a9d568f72669a0e333a159e /variables.h
parent3554e28ad87374427d20c16a97764f6d90087e3b (diff)
downloadopenttd-cf862380fcf8b3bd83b338fdecb3126bec8b2d4f.tar.xz
(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
Diffstat (limited to 'variables.h')
-rw-r--r--variables.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/variables.h b/variables.h
index 2043269f5..5442f186a 100644
--- a/variables.h
+++ b/variables.h
@@ -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;