diff options
author | rubidium <rubidium@openttd.org> | 2007-09-28 19:24:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-28 19:24:52 +0000 |
commit | bba0d120b7877e4eddec537815525ba34b96f3a1 (patch) | |
tree | 59d2b7c21755fcb4668b5faf63371b490eb18f5b /src | |
parent | 6222597152d775c7c1b74b75b504ab9d6ffd20e4 (diff) | |
download | openttd-bba0d120b7877e4eddec537815525ba34b96f3a1.tar.xz |
(svn r11183) -Fix [FS#1249]: airports do not need to care about overflying aircraf when removing them, because if they were not in the "flying" state it can't be removed anyway.
Diffstat (limited to 'src')
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 1507c73e2..28ac9e134 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -1732,7 +1732,7 @@ static CommandCost RemoveAirport(Station *st, uint32 flags) } BEGIN_TILE_LOOP(tile_cur, w, h, tile) { - if (!EnsureNoVehicle(tile_cur)) return CMD_ERROR; + if (!EnsureNoVehicleOnGround(tile_cur)) return CMD_ERROR; if (flags & DC_EXEC) { DeleteAnimatedTile(tile_cur); |