diff options
author | smatz <smatz@openttd.org> | 2007-12-17 22:29:27 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2007-12-17 22:29:27 +0000 |
commit | 531651293efd0c288da68c0ae40c59986832dfc1 (patch) | |
tree | 4b515d99becc25cc7fb8461375ce7ffa41682f47 /src/command.cpp | |
parent | 8d91abdfe3f3786e48a5b81b06a23bf162a9d2c0 (diff) | |
download | openttd-531651293efd0c288da68c0ae40c59986832dfc1.tar.xz |
(svn r11657) -Fix: show better error message when trying to convert rail
-Codechange: merge DoConvert functions into one, make test and exec runs the same for tunnels/bridges
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/command.cpp b/src/command.cpp index b09d43318..e65b8a4b2 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -549,7 +549,6 @@ bool DoCommandP(TileIndex tile, uint32 p1, uint32 p2, CommandCallback *callback, * estimate the cost of cloning a vehicle. */ notest = (cmd & 0xFF) == CMD_CLEAR_AREA || - (cmd & 0xFF) == CMD_CONVERT_RAIL || (cmd & 0xFF) == CMD_LEVEL_LAND || (cmd & 0xFF) == CMD_REMOVE_ROAD || (cmd & 0xFF) == CMD_REMOVE_LONG_ROAD || |