(svn r22981) -Add: GroupStatistics for the ALL_GROUP.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user