diff options
author | rubidium <rubidium@openttd.org> | 2007-06-16 10:10:22 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-16 10:10:22 +0000 |
commit | d58d721fab3ea4ca54122ed8cd15b888b4f2aa6c (patch) | |
tree | 6d357985409b12eaf9e9aa1abc6378bb0f00ca77 /src | |
parent | 108ee9bc3e7645cad0e4977519ee56cef685fb7e (diff) | |
download | openttd-d58d721fab3ea4ca54122ed8cd15b888b4f2aa6c.tar.xz |
(svn r10168) -Fix [FS#879]: cannot build airport when an aircraft is flying over it.
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 a841fa6a3..08ebbe58c 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -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); |