summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vehicle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index 24e80ff67..2e37d1c15 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -547,6 +547,7 @@ Vehicle::~Vehicle()
if (CleaningPool()) return;
+ this->SetNext(NULL);
UpdateVehiclePosHash(this, INVALID_COORD, 0);
this->next_hash = NULL;
this->next_new_hash = NULL;