summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-12-19 21:12:16 +0000
committersmatz <smatz@openttd.org>2008-12-19 21:12:16 +0000
commita59ddd79a1bc059c33e8ce2205fe87642c8c1c16 (patch)
tree0ff51cc6f64b41f60368e6fb7e73caf79ddf08d7
parent82ef029f41234acb002b51cbf858a7b1f1ad059b (diff)
downloadopenttd-a59ddd79a1bc059c33e8ce2205fe87642c8c1c16.tar.xz
(svn r14694) -Fix (r1): zeppeliner (disaster) should target st->airport_tile, not st->xy
-rw-r--r--src/disaster_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/disaster_cmd.cpp b/src/disaster_cmd.cpp
index 0d95bf144..678fc7de4 100644
--- a/src/disaster_cmd.cpp
+++ b/src/disaster_cmd.cpp
@@ -774,7 +774,7 @@ static void Disaster_Zeppeliner_Init()
if (st->airport_tile != 0 &&
st->airport_type <= 1 &&
IsHumanCompany(st->owner)) {
- x = (TileX(st->xy) + 2) * TILE_SIZE;
+ x = (TileX(st->airport_tile) + 2) * TILE_SIZE;
break;
}
}