summaryrefslogtreecommitdiff
path: root/src/disaster_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/disaster_cmd.cpp')
-rw-r--r--src/disaster_cmd.cpp4
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;
}
}