(svn r1881) -Fix: [ 1119308 ] Max passengers / mail variables are now 32 bit

This commit is contained in:
celestar
2005-02-17 10:56:19 +00:00
parent 7678a937e4
commit fe6f9e9a65
6 changed files with 37 additions and 20 deletions

7
ttd.c
View File

@@ -1345,6 +1345,13 @@ bool AfterLoadGame(uint version)
} END_TILE_LOOP(tile, MapSizeX(), MapSizeY(), 0);
}
if (version < 0x900) {
Town *t;
FOR_ALL_TOWNS(t) {
UpdateTownMaxPass(t);
}
}
return true;
}