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