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 | 0b08f7370ddd778da13ed5426c8c4d24fe0d5432 (patch) | |
tree | 4b515d99becc25cc7fb8461375ce7ffa41682f47 /src/command.cpp | |
parent | bda9d4a23633c4ebb6ad18c29218deaf1a92d55d (diff) | |
download | openttd-0b08f7370ddd778da13ed5426c8c4d24fe0d5432.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 || |