diff options
author | smatz <smatz@openttd.org> | 2008-12-19 21:12:16 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-12-19 21:12:16 +0000 |
commit | f52d1bd0ba830f20fabc631ecb15ef63be44b9ab (patch) | |
tree | 0ff51cc6f64b41f60368e6fb7e73caf79ddf08d7 | |
parent | a7f82bd11a333b4ce9ce9297ebb496e517d0fd35 (diff) | |
download | openttd-f52d1bd0ba830f20fabc631ecb15ef63be44b9ab.tar.xz |
(svn r14694) -Fix (r1): zeppeliner (disaster) should target st->airport_tile, not st->xy
-rw-r--r-- | src/disaster_cmd.cpp | 2 |
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; } } |