forked from mirror/OpenTTD
(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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user