summaryrefslogtreecommitdiff
path: root/ai/ai.c
diff options
context:
space:
mode:
Diffstat (limited to 'ai/ai.c')
-rw-r--r--ai/ai.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ai/ai.c b/ai/ai.c
index 12b7b9eda..3fcd94cff 100644
--- a/ai/ai.c
+++ b/ai/ai.c
@@ -126,8 +126,12 @@ void AI_RunTick(byte player)
if (_patches.ainew_active)
AiNewDoGameLoop(p);
- else
+ else {
+ /* Enable all kind of cheats the old AI needs in order to operate correctly... */
+ _is_old_ai_player = true;
AiDoGameLoop(p);
+ _is_old_ai_player = false;
+ }
}