diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rail_gui.cpp | 2 | ||||
-rw-r--r-- | src/road_gui.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 61c29e1e1..69b15e085 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -262,7 +262,7 @@ static void PlaceRail_Bridge(TileIndex tile, Window *w) if (IsBridgeTile(tile)) { TileIndex other_tile = GetOtherTunnelBridgeEnd(tile); Point pt = {0, 0}; - w->OnPlaceMouseUp(VPM_X_OR_Y, DDSP_BUILD_BRIDGE, pt, tile, other_tile); + w->OnPlaceMouseUp(VPM_X_OR_Y, DDSP_BUILD_BRIDGE, pt, other_tile, tile); } else { VpStartPlaceSizing(tile, VPM_X_OR_Y, DDSP_BUILD_BRIDGE); } diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 388033382..a35dab23c 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -75,7 +75,7 @@ static void PlaceRoad_Bridge(TileIndex tile, Window *w) if (IsBridgeTile(tile)) { TileIndex other_tile = GetOtherTunnelBridgeEnd(tile); Point pt = {0, 0}; - w->OnPlaceMouseUp(VPM_X_OR_Y, DDSP_BUILD_BRIDGE, pt, tile, other_tile); + w->OnPlaceMouseUp(VPM_X_OR_Y, DDSP_BUILD_BRIDGE, pt, other_tile, tile); } else { VpStartPlaceSizing(tile, VPM_X_OR_Y, DDSP_BUILD_BRIDGE); } |