summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-09-05 15:07:38 +0000
committeryexo <yexo@openttd.org>2010-09-05 15:07:38 +0000
commita9cdcb02f56d6d77bb55d31a2806f763fd137f1c (patch)
tree405c154cee62e5b7be5de56eaf54424c26cf392c
parent72e2e21cb5f05b0f66f5f1d5a524eb597f5ba3fc (diff)
downloadopenttd-a9cdcb02f56d6d77bb55d31a2806f763fd137f1c.tar.xz
(svn r20746) -Fix: set CMD_NO_WATER flag for CmdBuildBridge
-rw-r--r--src/command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.cpp b/src/command.cpp
index 5d5cd595b..d862991ca 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -194,7 +194,7 @@ static const Command _command_proc_table[] = {
DEF_CMD(CmdBuildSingleRail, CMD_NO_WATER | CMD_AUTO), // CMD_BUILD_SINGLE_RAIL
DEF_CMD(CmdRemoveSingleRail, CMD_AUTO), // CMD_REMOVE_SINGLE_RAIL
DEF_CMD(CmdLandscapeClear, 0), // CMD_LANDSCAPE_CLEAR
- DEF_CMD(CmdBuildBridge, CMD_AUTO), // CMD_BUILD_BRIDGE
+ DEF_CMD(CmdBuildBridge, CMD_NO_WATER | CMD_AUTO), // CMD_BUILD_BRIDGE
DEF_CMD(CmdBuildRailStation, CMD_NO_WATER | CMD_AUTO), // CMD_BUILD_RAIL_STATION
DEF_CMD(CmdBuildTrainDepot, CMD_NO_WATER | CMD_AUTO), // CMD_BUILD_TRAIN_DEPOT
DEF_CMD(CmdBuildSingleSignal, CMD_AUTO), // CMD_BUILD_SIGNALS