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 | a2ae8a707cd94e4382bae400e7f8e09e302a412e (patch) | |
tree | 2a2f033649d0f5a72a51388eacab42d849c3b932 /ai | |
parent | 87f54ebf92725c36c4ab0aa1b97fe9152e7db5c1 (diff) | |
download | openttd-a2ae8a707cd94e4382bae400e7f8e09e302a412e.tar.xz |
(svn r3242) -Fix: small glitch in AllowAI control
Diffstat (limited to 'ai')
-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; } |