(svn r3246) -Fix: small glitch in ai_network_client code (network_client.c)

-Fix: make sure this glitch can never happen again (ai.c)
This commit is contained in:
truelight
2005-11-29 16:06:06 +00:00
parent c963c59b67
commit 44c70c24d3
2 changed files with 4 additions and 2 deletions

View File

@@ -250,6 +250,8 @@ void AI_LoadAIControl(void)
*/
void AI_StartNewAI(PlayerID player)
{
assert(player < MAX_PLAYERS);
#ifdef GPMI
/* Keep this in a different IF, because the function can turn _ai.gpmi off!! */
if (_ai.gpmi && _ai.gpmi_mod == NULL)