diff options
-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); |