(svn r3242) -Fix: small glitch in AllowAI control
authortruelight
Sun, 27 Nov 2005 16:45:45 +0000
changeset 2698 9a99d68de3ca
parent 2697 c7b1a950c4cf
child 2699 ae1379383e0f
(svn r3242) -Fix: small glitch in AllowAI control
ai/ai.h
--- a/ai/ai.h	Sat Nov 26 16:41:14 2005 +0000
+++ b/ai/ai.h	Sun Nov 27 16:45:45 2005 +0000
@@ -77,7 +77,7 @@
 		 *  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;
 	}