mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r11014) -Fix (r11011) [FS#1170]: crash when selling the first train of a consist.
This commit is contained in:
parent
c19b8c72b7
commit
98a3b8abfa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue