(svn r17125) -Cleanup: remove an unused variable

This commit is contained in:
yexo 2009-08-08 22:09:53 +00:00
parent 13e23141b4
commit 5d0ae8ad47
2 changed files with 0 additions and 5 deletions

View File

@ -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();

View File

@ -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;