From a2ae8a707cd94e4382bae400e7f8e09e302a412e Mon Sep 17 00:00:00 2001 From: truelight Date: Sun, 27 Nov 2005 16:45:45 +0000 Subject: (svn r3242) -Fix: small glitch in AllowAI control --- ai/ai.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ai/ai.h') diff --git a/ai/ai.h b/ai/ai.h index cb18882ca..97a70b529 100644 --- a/ai/ai.h +++ b/ai/ai.h @@ -77,7 +77,7 @@ static inline bool AI_AllowNewAI(void) * 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; } -- cgit v1.2.3-70-g09d2