diff options
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 46e3de633..acd7f27dc 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -608,7 +608,7 @@ Vehicle::~Vehicle() DeleteVehicleNews(this->index, INVALID_STRING_ID); - new (this) InvalidVehicle(); + this->type = VEH_INVALID; } /** Adds a vehicle to the list of vehicles, that visited a depot this tick |