summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ai/ai_core.cpp1
-rw-r--r--src/game/game_core.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/ai_core.cpp b/src/ai/ai_core.cpp
index 6931accc7..ed2945cf3 100644
--- a/src/ai/ai_core.cpp
+++ b/src/ai/ai_core.cpp
@@ -104,6 +104,7 @@
delete c->ai_instance;
c->ai_instance = NULL;
+ c->ai_info = NULL;
cur_company.Restore();
diff --git a/src/game/game_core.cpp b/src/game/game_core.cpp
index 566618040..00930cacc 100644
--- a/src/game/game_core.cpp
+++ b/src/game/game_core.cpp
@@ -94,6 +94,7 @@
delete Game::instance;
Game::instance = NULL;
+ Game::info = NULL;
cur_company.Restore();