summaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-04-10 09:01:56 +0000
committermaedhros <maedhros@openttd.org>2007-04-10 09:01:56 +0000
commitafc3da5fc8addf33aef85bd952e90d7955c38956 (patch)
tree70a97948dc60f9ab627aafc529b6f43c59ccd3ff /src/command.cpp
parent82ad5a6d9c4adb8d65d690cffd53783c87f9e2bf (diff)
downloadopenttd-afc3da5fc8addf33aef85bd952e90d7955c38956.tar.xz
(svn r9581) -Revert (r9562): This broke as much as it fixed, so revert until a proper way of paying for refits when cloning can be found.
Diffstat (limited to 'src/command.cpp')
-rw-r--r--src/command.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/command.cpp b/src/command.cpp
index e72f6963a..7bd6a3992 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -455,17 +455,13 @@ bool DoCommandP(TileIndex tile, uint32 p1, uint32 p2, CommandCallback *callback,
* restrictions which may cause the test run to fail (the previous
* road fragments still stay there and the town won't let you
* disconnect the road system), but the exec will succeed and this
- * fact will trigger an assertion failure. --pasky
- * CMD_CLONE_VEHICLE: You can only refit vehicles once they have been
- * bought, so you can't estimate the cost of cloning if the vehicle to be
- * cloned has been refitted. */
+ * fact will trigger an assertion failure. --pasky */
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 ||
- (cmd & 0xFF) == CMD_CLONE_VEHICLE;
+ (cmd & 0xFF) == CMD_REMOVE_LONG_ROAD;
_docommand_recursive = 1;