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 | 6a4ba84320ae137793760b628dad23de29d0b633 (patch) | |
tree | 6702beccddba7217fe3ad311ffda9285b6719e5d /economy.c | |
parent | 4d2c4c5d8a9c260e4087fab654f61140e984f79c (diff) | |
download | openttd-6a4ba84320ae137793760b628dad23de29d0b633.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 'economy.c')
-rw-r--r-- | economy.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -477,6 +477,8 @@ static void PlayersCheckBankrupt(Player *p) if (!IS_HUMAN_PLAYER(owner) && (!_networking || _network_server) && _ai.enabled) AI_PlayerDied(owner); + if (IS_HUMAN_PLAYER(owner) && owner == _local_player && _ai.network_client) + AI_PlayerDied(owner); } } } |