diff options
author | yexo <yexo@openttd.org> | 2009-08-08 22:09:53 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-08-08 22:09:53 +0000 |
commit | 5d0ae8ad47371cd8789d2f7bf905958a2273a8dd (patch) | |
tree | 48049f92894c89fcb2553b756069f6a395d40a8a /src/ai/ai_instance.cpp | |
parent | 13e23141b418214db51e1463bb3696a4e6d87129 (diff) | |
download | openttd-5d0ae8ad47371cd8789d2f7bf905958a2273a8dd.tar.xz |
(svn r17125) -Cleanup: remove an unused variable
Diffstat (limited to 'src/ai/ai_instance.cpp')
-rw-r--r-- | src/ai/ai_instance.cpp | 3 |
1 files changed, 0 insertions, 3 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(); |