Mercurial > hg > openttd
changeset 12670:9c7185fc3787 draft
(svn r17125) -Cleanup: remove an unused variable
author | yexo <yexo@openttd.org> |
---|---|
date | Sat, 08 Aug 2009 22:09:53 +0000 |
parents | 406f4ae1e2ca |
children | 34de19198186 |
files | src/ai/ai_instance.cpp src/ai/ai_instance.hpp |
diffstat | 2 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ { /* 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();