diff options
author | truelight <truelight@openttd.org> | 2005-09-13 12:19:27 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-09-13 12:19:27 +0000 |
commit | 2e87864d0b078a68b481340838b4c91e653026fa (patch) | |
tree | 1d0b1d986e906226e0a4c2b67110203eefaa8479 /ai | |
parent | 42813c5426144f9846f200295b6e6ad52bc416ec (diff) | |
download | openttd-2e87864d0b078a68b481340838b4c91e653026fa.tar.xz |
(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..
Diffstat (limited to 'ai')
-rw-r--r-- | ai/ai.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; + } } |