summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp1
1 files changed, 0 insertions, 1 deletions
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);