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 | e67b985bfac22680f1916280ce6e7dda82620c47 (patch) | |
tree | 59d2b7c21755fcb4668b5faf63371b490eb18f5b | |
parent | a4695c902299c48fc1f8986add2d900882c61e54 (diff) | |
download | openttd-e67b985bfac22680f1916280ce6e7dda82620c47.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.
-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); |