summaryrefslogtreecommitdiff
path: root/src/road_gui.cpp
diff options
context:
space:
mode:
authorzuu <zuu@openttd.org>2013-10-12 22:45:19 +0000
committerzuu <zuu@openttd.org>2013-10-12 22:45:19 +0000
commit15ebb2944713c7da1b7eb64189238c10c0d025fb (patch)
tree41d8c34df0a8a1c6da0f34276537e47796d4e509 /src/road_gui.cpp
parente50478c053acfffcad98547bf265ff3ada77a33e (diff)
downloadopenttd-15ebb2944713c7da1b7eb64189238c10c0d025fb.tar.xz
(svn r25854) -Change: Display the cost to upgrade a bridge at the end of bridge that was clicked and not the other end, which could be outside of the screen in some cases (cirdan, LordAro)
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r--src/road_gui.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}