mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-25 21:39:25 +01:00
(svn r17125) -Cleanup: remove an unused variable
This commit is contained in:
parent
13e23141b4
commit
5d0ae8ad47
@ -80,8 +80,6 @@
|
|||||||
|
|
||||||
#undef DEFINE_SCRIPT_FILES
|
#undef DEFINE_SCRIPT_FILES
|
||||||
|
|
||||||
/* static */ AIInstance *AIInstance::current_instance = NULL;
|
|
||||||
|
|
||||||
AIStorage::~AIStorage()
|
AIStorage::~AIStorage()
|
||||||
{
|
{
|
||||||
/* Free our pointers */
|
/* Free our pointers */
|
||||||
@ -108,7 +106,6 @@ AIInstance::AIInstance(AIInfo *info) :
|
|||||||
{
|
{
|
||||||
/* Set the instance already, so we can use AIObject::Set commands */
|
/* Set the instance already, so we can use AIObject::Set commands */
|
||||||
Company::Get(_current_company)->ai_instance = this;
|
Company::Get(_current_company)->ai_instance = this;
|
||||||
AIInstance::current_instance = this;
|
|
||||||
|
|
||||||
this->controller = new AIController();
|
this->controller = new AIController();
|
||||||
this->storage = new AIStorage();
|
this->storage = new AIStorage();
|
||||||
|
@ -114,8 +114,6 @@ public:
|
|||||||
static void LoadEmpty();
|
static void LoadEmpty();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static class AIInstance *current_instance; //!< Static current AIInstance, so we can register AIs.
|
|
||||||
|
|
||||||
class AIController *controller;
|
class AIController *controller;
|
||||||
class AIStorage *storage;
|
class AIStorage *storage;
|
||||||
class Squirrel *engine;
|
class Squirrel *engine;
|
||||||
|
Loading…
Reference in New Issue
Block a user