summaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-02-04 22:44:05 +0000
committersmatz <smatz@openttd.org>2008-02-04 22:44:05 +0000
commit5dacd82903da00fdc4f32822bca6c01e53db4a90 (patch)
tree82f0bac7b2df225cd48313fcb9b58b93954de6f5 /src/command.cpp
parente9b22d7c70482ae4fec5784579bec8699085e624 (diff)
downloadopenttd-5dacd82903da00fdc4f32822bca6c01e53db4a90.tar.xz
(svn r12061) -Cleanup: since r12060, DC_FORCETEST is not used anymore
Diffstat (limited to 'src/command.cpp')
-rw-r--r--src/command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.cpp b/src/command.cpp
index c550dcb8f..0a6393f66 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -426,7 +426,7 @@ CommandCost DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint32
_docommand_recursive++;
/* only execute the test call if it's toplevel, or we're not execing. */
- if (_docommand_recursive == 1 || !(flags & DC_EXEC) || (flags & DC_FORCETEST) ) {
+ if (_docommand_recursive == 1 || !(flags & DC_EXEC) ) {
SetTownRatingTestMode(true);
res = proc(tile, flags & ~DC_EXEC, p1, p2);
SetTownRatingTestMode(false);