mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r3242) -Fix: small glitch in AllowAI control
This commit is contained in:
parent
87f54ebf92
commit
a2ae8a707c
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue