diff options
author | truelight <truelight@openttd.org> | 2005-11-27 16:45:45 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-11-27 16:45:45 +0000 |
commit | 71b6f6c8aac713f6470a5c6c9f749f138ce52e84 (patch) | |
tree | 2a2f033649d0f5a72a51388eacab42d849c3b932 | |
parent | 14064b223db33f041005ee86283c73a259153da6 (diff) | |
download | openttd-71b6f6c8aac713f6470a5c6c9f749f138ce52e84.tar.xz |
(svn r3242) -Fix: small glitch in AllowAI control
-rw-r--r-- | ai/ai.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |