summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ttd.c b/ttd.c
index e2aa21f05..7484626b4 100644
--- a/ttd.c
+++ b/ttd.c
@@ -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;
}