diff options
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_instance.cpp | 3 | ||||
-rw-r--r-- | src/ai/ai_instance.hpp | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp index c79ea0d34..f5a78e269 100644 --- a/src/ai/ai_instance.cpp +++ b/src/ai/ai_instance.cpp @@ -80,8 +80,6 @@ #undef DEFINE_SCRIPT_FILES -/* static */ AIInstance *AIInstance::current_instance = NULL; - AIStorage::~AIStorage() { /* Free our pointers */ @@ -108,7 +106,6 @@ AIInstance::AIInstance(AIInfo *info) : { /* Set the instance already, so we can use AIObject::Set commands */ Company::Get(_current_company)->ai_instance = this; - AIInstance::current_instance = this; this->controller = new AIController(); this->storage = new AIStorage(); diff --git a/src/ai/ai_instance.hpp b/src/ai/ai_instance.hpp index 4c9cb69a5..41653dba1 100644 --- a/src/ai/ai_instance.hpp +++ b/src/ai/ai_instance.hpp @@ -114,8 +114,6 @@ public: static void LoadEmpty(); private: - static class AIInstance *current_instance; //!< Static current AIInstance, so we can register AIs. - class AIController *controller; class AIStorage *storage; class Squirrel *engine; |