diff options
author | peter1138 <peter1138@openttd.org> | 2006-06-28 17:33:04 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-06-28 17:33:04 +0000 |
commit | a12c748f5bdab0619e2ac8008aaf9324fe2a6419 (patch) | |
tree | f16b8582d85003e68837e4dd5053ae193f2188d3 /dock_gui.c | |
parent | b310c78aaa7427c538494c3be7a4fea01424e820 (diff) | |
download | openttd-a12c748f5bdab0619e2ac8008aaf9324fe2a6419.tar.xz |
(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.
Diffstat (limited to 'dock_gui.c')
-rw-r--r-- | dock_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |