diff options
author | yexo <yexo@openttd.org> | 2010-02-22 14:17:07 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-02-22 14:17:07 +0000 |
commit | 698737f485cfbdd1605faecd50395bb67f7dac75 (patch) | |
tree | b79303520896365e70a9aa3224a5f1c6a14b5aba /src/disaster_cmd.cpp | |
parent | 7ca4c31cf558ff29b3cbe14cd348bcf649445dfc (diff) | |
download | openttd-698737f485cfbdd1605faecd50395bb67f7dac75.tar.xz |
(svn r19198) -Codechange: store the size of stations in savegames
Diffstat (limited to 'src/disaster_cmd.cpp')
-rw-r--r-- | src/disaster_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/disaster_cmd.cpp b/src/disaster_cmd.cpp index 142ec01d7..6ff1ed1ba 100644 --- a/src/disaster_cmd.cpp +++ b/src/disaster_cmd.cpp @@ -680,8 +680,8 @@ static void Disaster_Zeppeliner_Init() Station *st; FOR_ALL_STATIONS(st) { - if (st->airport_tile != INVALID_TILE && (st->airport_type == AT_SMALL || st->airport_type == AT_LARGE)) { - x = (TileX(st->airport_tile) + 2) * TILE_SIZE; + if (st->airport.tile != INVALID_TILE && (st->airport_type == AT_SMALL || st->airport_type == AT_LARGE)) { + x = (TileX(st->airport.tile) + 2) * TILE_SIZE; break; } } |