From a12c748f5bdab0619e2ac8008aaf9324fe2a6419 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 28 Jun 2006 17:33:04 +0000 Subject: (svn r5403) - Feature: Allow building canals at sea-level, using ctrl to toggle canal or plain water tile. This allows building of non-raisable sea-level water ways (useful in multiplayer) and dikes for low-level areas. --- dock_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dock_gui.c') diff --git a/dock_gui.c b/dock_gui.c index 123d60923..4b7d3896d 100644 --- a/dock_gui.c +++ b/dock_gui.c @@ -151,7 +151,7 @@ static void BuildDocksToolbWndProc(Window *w, WindowEvent *e) if ((e->place.userdata & 0xF) == VPM_X_AND_Y) { // dragged actions GUIPlaceProcDragXY(e); } else if (e->place.userdata == VPM_X_OR_Y) { - DoCommandP(e->place.tile, e->place.starttile, 0, CcBuildCanal, CMD_BUILD_CANAL | CMD_AUTO | CMD_MSG(STR_CANT_BUILD_CANALS)); + DoCommandP(e->place.tile, e->place.starttile, _ctrl_pressed, CcBuildCanal, CMD_BUILD_CANAL | CMD_AUTO | CMD_MSG(STR_CANT_BUILD_CANALS)); } } break; -- cgit v1.2.3-54-g00ecf