summaryrefslogtreecommitdiff
path: root/ai
diff options
context:
space:
mode:
Diffstat (limited to 'ai')
-rw-r--r--ai/ai.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ai/ai.c b/ai/ai.c
index 516a86cc6..c186d8051 100644
--- a/ai/ai.c
+++ b/ai/ai.c
@@ -309,6 +309,9 @@ void AI_Initialize(void)
char *tmp_ai_gpmi_param = strdup(_ai.gpmi_param);
#endif /* GPMI */
+ /* First, make sure all AIs are DEAD! */
+ AI_Uninitialize();
+
memset(&_ai, 0, sizeof(_ai));
memset(&_ai_player, 0, sizeof(_ai_player));