(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.

This commit is contained in:
rubidium 2007-09-28 19:24:52 +00:00
parent a4695c9022
commit e67b985bfa
1 changed files with 1 additions and 1 deletions

View File

@ -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);