(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
This commit is contained in:
truelight
2005-11-22 15:55:38 +00:00
parent 28df667ceb
commit e4cb8ed457
8 changed files with 64 additions and 57 deletions

View File

@@ -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);
}
}
}