summaryrefslogtreecommitdiff
path: root/src/dock_gui.cpp
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-05-23 17:33:03 +0000
committermaedhros <maedhros@openttd.org>2007-05-23 17:33:03 +0000
commit1242bb9a03b4b403fe0ad439915ff8441f6e2499 (patch)
tree73a8ef6355c7f911d98b6c9474351d089241fe55 /src/dock_gui.cpp
parente2858120fffc0e1535ca81feb9bbec98bdec5ef9 (diff)
downloadopenttd-1242bb9a03b4b403fe0ad439915ff8441f6e2499.tar.xz
(svn r9905) -Feature: Allow building new stations adjacent to existing stations by holding down control. Based on a patch by Wolf01.
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 02abcd129..57b3bcb57 100644
--- a/src/dock_gui.cpp
+++ b/src/dock_gui.cpp
@@ -38,7 +38,7 @@ void CcBuildCanal(bool success, TileIndex tile, uint32 p1, uint32 p2)
static void PlaceDocks_Dock(TileIndex tile)
{
- DoCommandP(tile, 0, 0, CcBuildDocks, CMD_BUILD_DOCK | CMD_AUTO | CMD_MSG(STR_9802_CAN_T_BUILD_DOCK_HERE));
+ DoCommandP(tile, _ctrl_pressed, 0, CcBuildDocks, CMD_BUILD_DOCK | CMD_AUTO | CMD_MSG(STR_9802_CAN_T_BUILD_DOCK_HERE));
}
static void PlaceDocks_Depot(TileIndex tile)