diff options
-rw-r--r-- | src/road_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index e2480025b..405261d86 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -458,6 +458,7 @@ CommandCost CmdBuildRoad(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) if (HasBit(GetRoadTypes(tile), rt)) return_cmd_error(STR_1007_ALREADY_BUILT); all_bits = GetCrossingRoadBits(tile); if (pieces & ComplementRoadBits(all_bits)) goto do_clear; + if (!EnsureNoVehicleOnGround(tile)) return CMD_ERROR; break; default: |