(svn r22981) -Add: GroupStatistics for the ALL_GROUP.

This commit is contained in:
frosch
2011-10-03 17:23:41 +00:00
parent 5be8f73204
commit dd74536bef
9 changed files with 19 additions and 23 deletions

View File

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