diff options
author | peter1138 <peter1138@openttd.org> | 2005-10-31 11:22:52 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2005-10-31 11:22:52 +0000 |
commit | 7298b0b31b5f17adf25df4acf202411b737626bc (patch) | |
tree | dcac8f1e44fd8ac05c838297c41a1c3df696a9e4 /openttd.c | |
parent | c1c086d9a031fc8d85e13c9bd04c1b34f513e015 (diff) | |
download | openttd-7298b0b31b5f17adf25df4acf202411b737626bc.tar.xz |
(svn r3109) Replace two occurrences of '256' with TOTAL_NUM_ENGINES
Diffstat (limited to 'openttd.c')
-rw-r--r-- | openttd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1283,7 +1283,7 @@ bool AfterLoadGame(uint version) if (version < 0x1000) { int i; FOR_ALL_PLAYERS(p) { - for (i = 0; i < 256; i++) { + for (i = 0; i < TOTAL_NUM_ENGINES; i++) { p->engine_replacement[i] = INVALID_ENGINE; } p->engine_renew = false; |