Changeset - r2698:d3beabbdf146
[Not reviewed]
master
0 1 0
truelight - 19 years ago 2005-11-27 16:45:45
truelight@openttd.org
(svn r3242) -Fix: small glitch in AllowAI control
1 file changed with 1 insertions and 1 deletions:
ai/ai.h
1
1
0 comments (0 inline, 0 general)
ai/ai.h
Show inline comments
 
@@ -74,13 +74,13 @@ static inline bool AI_AllowNewAI(void)
 
			return false;
 

	
 
		/* Only the NewAI is allowed... sadly enough the old AI just doesn't support this
 
		 *  system, because all commands are delayed by at least 1 tick, which causes
 
		 *  a big problem, because it uses variables that are only set AFTER the command
 
		 *  is really executed... */
 
		if (!_patches.ainew_active)
 
		if (!_patches.ainew_active && !_ai.gpmi)
 
			return false;
 
	}
 

	
 
	return true;
 
}
 

	
0 comments (0 inline, 0 general)