diff options
author | frosch <frosch@openttd.org> | 2010-01-31 20:28:36 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-01-31 20:28:36 +0000 |
commit | cbbe311cea7d7f9ec1d2c28691ef1ae9fc9b3047 (patch) | |
tree | c1ac9736e19c9cb675fa6ea82bd3e0d9671cd629 /src/command.cpp | |
parent | 8e6096931abb8f5047d7cbec8138baecf947a058 (diff) | |
download | openttd-cbbe311cea7d7f9ec1d2c28691ef1ae9fc9b3047.tar.xz |
(svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not access tiles anymore after clearing them; that fails either in test or exec run.
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.cpp b/src/command.cpp index 6d5484458..a4e4e5eb1 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -221,7 +221,7 @@ static const Command _command_proc_table[] = { {CmdRemoveRoadStop, 0}, // CMD_REMOVE_ROAD_STOP {CmdBuildLongRoad, CMD_NO_WATER | CMD_AUTO}, // CMD_BUILD_LONG_ROAD {CmdRemoveLongRoad, CMD_NO_TEST | CMD_AUTO}, // CMD_REMOVE_LONG_ROAD; towns may disallow removing road bits (as they are connected) in test, but in exec they're removed and thus removing is allowed. - {CmdBuildRoad, 0}, // CMD_BUILD_ROAD + {CmdBuildRoad, CMD_NO_WATER | CMD_AUTO}, // CMD_BUILD_ROAD {CmdRemoveRoad, 0}, // CMD_REMOVE_ROAD {CmdBuildRoadDepot, CMD_NO_WATER | CMD_AUTO}, // CMD_BUILD_ROAD_DEPOT |