(svn r10168) -Fix [FS#879]: cannot build airport when an aircraft is flying over it.

This commit is contained in:
rubidium 2007-06-16 10:10:22 +00:00
parent 108ee9bc3e
commit d58d721fab
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ int32 CheckFlatLandBelow(TileIndex tile, uint w, uint h, uint flags, uint invali
return_cmd_error(STR_5007_MUST_DEMOLISH_BRIDGE_FIRST);
}
if (!EnsureNoVehicle(tile_cur)) return CMD_ERROR;
if (!EnsureNoVehicleOnGround(tile_cur)) return CMD_ERROR;
uint z;
Slope tileh = GetTileSlope(tile_cur, &z);