(svn r12061) -Cleanup: since r12060, DC_FORCETEST is not used anymore
authorsmatz
Mon, 04 Feb 2008 22:44:05 +0000
changeset 8982 bef54a67b958
parent 8981 005e2c86844c
child 8983 7a5e7b1d01dd
(svn r12061) -Cleanup: since r12060, DC_FORCETEST is not used anymore
src/command.cpp
src/command_type.h
--- a/src/command.cpp	Mon Feb 04 22:15:48 2008 +0000
+++ b/src/command.cpp	Mon Feb 04 22:44:05 2008 +0000
@@ -426,7 +426,7 @@
 	_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);
--- a/src/command_type.h	Mon Feb 04 22:15:48 2008 +0000
+++ b/src/command_type.h	Mon Feb 04 22:44:05 2008 +0000
@@ -271,7 +271,6 @@
 	DC_NO_RAIL_OVERLAP = 0x10, ///< don't allow overlap of rails (used in buildrail)
 	DC_AI_BUILDING     = 0x20, ///< special building rules for AI
 	DC_NO_TOWN_RATING  = 0x40, ///< town rating does not disallow you from building
-	DC_FORCETEST       = 0x80, ///< force test too.
 };
 
 /**