summaryrefslogtreecommitdiff
path: root/terraform_gui.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-06-28 17:33:04 +0000
committerpeter1138 <peter1138@openttd.org>2006-06-28 17:33:04 +0000
commita12c748f5bdab0619e2ac8008aaf9324fe2a6419 (patch)
treef16b8582d85003e68837e4dd5053ae193f2188d3 /terraform_gui.c
parentb310c78aaa7427c538494c3be7a4fea01424e820 (diff)
downloadopenttd-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 'terraform_gui.c')
-rw-r--r--terraform_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terraform_gui.c b/terraform_gui.c
index 8c4fa62ce..42e24f16d 100644
--- a/terraform_gui.c
+++ b/terraform_gui.c
@@ -110,7 +110,7 @@ bool GUIPlaceProcDragXY(const WindowEvent *we)
GenerateDesertArea(end_tile, start_tile);
break;
case GUI_PlaceProc_WaterArea >> 4:
- DoCommandP(end_tile, start_tile, 0, CcBuildCanal, CMD_BUILD_CANAL | CMD_AUTO | CMD_MSG(STR_CANT_BUILD_CANALS));
+ DoCommandP(end_tile, start_tile, _ctrl_pressed, CcBuildCanal, CMD_BUILD_CANAL | CMD_AUTO | CMD_MSG(STR_CANT_BUILD_CANALS));
break;
default: return false;
}