From 4936e936544d89ea042fa7742de5f0f8eb126245 Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 13 Sep 2005 12:19:27 +0000 Subject: (svn r2948) -Fix: the old AI needs a special flag that triggers all kind of special abilities you really don't want to know about (free bridges, etc..) I removed this flag some revisions ago, but the Aircraft part depends on it, so I re-enabled it again.. --- ai/ai.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ai') 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; + } } -- cgit v1.2.3-54-g00ecf