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/vehicle.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/vehicle.cpp') diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 9c362e448..6c34d51f3 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -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); -- cgit v1.2.3-54-g00ecf