diff options
author | truelight <truelight@openttd.org> | 2005-11-22 15:55:38 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-11-22 15:55:38 +0000 |
commit | e4cb8ed4570f53fc26367371e8d680882f0e70e6 (patch) | |
tree | 6702beccddba7217fe3ad311ffda9285b6719e5d /ai/default | |
parent | 28df667ceb7fa74a1146a2bede0a908bc9dd3eb4 (diff) | |
download | openttd-e4cb8ed4570f53fc26367371e8d680882f0e70e6.tar.xz |
(svn r3226) -Fix: GPMI implementation had minor glitches
-Fix: the AI speed control is done by the AI-core, individual AIs don't have to do it (so, AIs were delayed twice ;)
-Add: Support for AI-network-clients (an AI, connecting to a remote server)
-Fix: minor AI-core problems
Diffstat (limited to 'ai/default')
-rw-r--r-- | ai/default/default.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ai/default/default.c b/ai/default/default.c index 4f4283f1a..b8648dbe2 100644 --- a/ai/default/default.c +++ b/ai/default/default.c @@ -3938,24 +3938,6 @@ void AiDoGameLoop(Player *p) AiAdjustLoan(p); AiBuildCompanyHQ(p); - if (_opt.diff.competitor_speed == 4) { - /* ultraspeed */ - _ai_actions[p->ai.state](p); - if (p->bankrupt_asked != 0) - return; - } else if (_opt.diff.competitor_speed != 3) { - p->ai.tick++; - if (!(p->ai.tick&1)) - return; - if (_opt.diff.competitor_speed != 2) { - if (!(p->ai.tick&2)) - return; - if (_opt.diff.competitor_speed == 0) { - if (!(p->ai.tick&4)) - return; - } - } - } #if 0 { static byte old_state = 99; |