diff options
-rw-r--r-- | src/ai/ai_core.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/ai_core.cpp b/src/ai/ai_core.cpp index 406b2ecbd..3ea06c0c6 100644 --- a/src/ai/ai_core.cpp +++ b/src/ai/ai_core.cpp @@ -47,6 +47,7 @@ Company *c = GetCompany(company); c->ai_info = info; + assert(c->ai_instance == NULL); c->ai_instance = new AIInstance(info); InvalidateWindowData(WC_AI_DEBUG, 0, -1); |