diff options
author | frosch <frosch@openttd.org> | 2011-10-03 17:23:41 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-10-03 17:23:41 +0000 |
commit | dd74536bef66a4e1d214caab38805d0c70acb075 (patch) | |
tree | b63a5d705ca0f724802d0cc2363c99f52a1de70a /src/company_cmd.cpp | |
parent | 5be8f732049daa97fd212ed9b91354d3b146d99d (diff) | |
download | openttd-dd74536bef66a4e1d214caab38805d0c70acb075.tar.xz |
(svn r22981) -Add: GroupStatistics for the ALL_GROUP.
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r-- | src/company_cmd.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp index f5bdd473d..f72d131e0 100644 --- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -68,8 +68,6 @@ Company::Company(uint16 name_1, bool is_ai) /** Destructor. */ Company::~Company() { - free(this->num_engines); - if (CleaningPool()) return; DeleteCompanyWindows(this->index); @@ -565,8 +563,6 @@ Company *DoStartupNewCompany(bool is_ai, CompanyID company = INVALID_COMPANY) if (is_ai && (!_networking || _network_server)) AI::StartNew(c->index); - c->num_engines = CallocT<uint16>(Engine::GetPoolSize()); - return c; } |