(svn r3238) -Fix: always save if you want GPMI-based AIs, this on request by

Darkvater, so we can, in the future, save patch options in savegames 
without any problems.
This commit is contained in:
truelight
2005-11-26 16:18:15 +00:00
parent 10ce514f59
commit 9a381f4d5d
4 changed files with 0 additions and 14 deletions

View File

@@ -244,9 +244,7 @@ void AI_PlayerDied(PlayerID player)
void AI_Initialize(void)
{
bool tmp_ai_network_client = _ai.network_client;
#ifdef GPMI
bool tmp_ai_gpmi = _ai.gpmi;
#endif /* GPMI */
memset(&_ai, 0, sizeof(_ai));
memset(&_ai_player, 0, sizeof(_ai_player));
@@ -254,9 +252,7 @@ void AI_Initialize(void)
_ai.network_client = tmp_ai_network_client;
_ai.network_playas = OWNER_SPECTATOR;
_ai.enabled = true;
#ifdef GPMI
_ai.gpmi = tmp_ai_gpmi;
#endif /* GPMI */
}
/**