summaryrefslogtreecommitdiff
path: root/src/dock_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-10 21:44:22 +0000
committerrubidium <rubidium@openttd.org>2007-03-10 21:44:22 +0000
commitb510eaaca5a898a99b48f728b4acbdd50dca5965 (patch)
tree23291c4fffd8dd7ba4fc76369dcba3706aacd711 /src/dock_gui.cpp
parent3ccc5e7b27b2e3f759cfa146a7f35d028dcdc55a (diff)
downloadopenttd-b510eaaca5a898a99b48f728b4acbdd50dca5965.tar.xz
(svn r9105) -Fix [FS#629]: disable the ability to make flooding water with the canal build tool. In the scenario editor you can still make both canals and flooding water at height level 0.
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r--src/dock_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp
index 184c69ea9..77282403c 100644
--- a/src/dock_gui.cpp
+++ b/src/dock_gui.cpp
@@ -156,7 +156,7 @@ static void BuildDocksToolbWndProc(Window *w, WindowEvent *e)
if ((e->we.place.userdata & 0xF) == VPM_X_AND_Y) { // dragged actions
GUIPlaceProcDragXY(e);
} else if (e->we.place.userdata == VPM_X_OR_Y) {
- DoCommandP(e->we.place.tile, e->we.place.starttile, _ctrl_pressed, CcBuildCanal, CMD_BUILD_CANAL | CMD_AUTO | CMD_MSG(STR_CANT_BUILD_CANALS));
+ DoCommandP(e->we.place.tile, e->we.place.starttile, 0, CcBuildCanal, CMD_BUILD_CANAL | CMD_AUTO | CMD_MSG(STR_CANT_BUILD_CANALS));
}
}
break;