(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

@@ -693,7 +693,6 @@ void Vehicle::PreDestructor()
}
if (this->IsEngineCountable()) {
Company::Get(this->owner)->num_engines[this->engine_type]--;
GroupStatistics::CountEngine(this, -1);
if (this->IsPrimaryVehicle()) GroupStatistics::CountVehicle(this, -1);