mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 22:28:56 +00:00
(svn r3109) Replace two occurrences of '256' with TOTAL_NUM_ENGINES
This commit is contained in:
parent
c1c086d9a0
commit
7298b0b31b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user