mirror of https://github.com/OpenTTD/OpenTTD
(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.
parent
a4695c9022
commit
e67b985bfa
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue