forked from mirror/OpenTTD
(svn r3242) -Fix: small glitch in AllowAI control
This commit is contained in:
2
ai/ai.h
2
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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user