summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
Diffstat (limited to 'openttd.c')
-rw-r--r--openttd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openttd.c b/openttd.c
index 31d01626c..13a508326 100644
--- a/openttd.c
+++ b/openttd.c
@@ -1292,7 +1292,7 @@ bool AfterLoadGame(uint version)
(0x402) version, so I just check when versions are older, and then
walk through the whole map.. */
if (version <= 0x402) {
- TileIndex tile = TILE_XY(0,0);
+ TileIndex tile = TileXY(0, 0);
uint w = MapSizeX();
uint h = MapSizeY();