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
commitf52d1bd0ba830f20fabc631ecb15ef63be44b9ab (patch)
tree0ff51cc6f64b41f60368e6fb7e73caf79ddf08d7
parenta7f82bd11a333b4ce9ce9297ebb496e517d0fd35 (diff)
downloadopenttd-f52d1bd0ba830f20fabc631ecb15ef63be44b9ab.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;
}
}