mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 18:09:09 +00:00
(svn r11014) -Fix (r11011) [FS#1170]: crash when selling the first train of a consist.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user