From dd74536bef66a4e1d214caab38805d0c70acb075 Mon Sep 17 00:00:00 2001 From: frosch Date: Mon, 3 Oct 2011 17:23:41 +0000 Subject: (svn r22981) -Add: GroupStatistics for the ALL_GROUP. --- src/company_cmd.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/company_cmd.cpp') 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(Engine::GetPoolSize()); - return c; } -- cgit v1.2.3-54-g00ecf