Merge branch 'crashlog_improvements' into jgrpp
This commit is contained in:
@@ -826,6 +826,8 @@ void Vehicle::PreDestructor()
|
||||
{
|
||||
if (CleaningPool()) return;
|
||||
|
||||
SCOPE_INFO_FMT([this], "Vehicle::PreDestructor: %s", scope_dumper().VehicleInfo(this));
|
||||
|
||||
if (Station::IsValidID(this->last_station_visited)) {
|
||||
Station *st = Station::Get(this->last_station_visited);
|
||||
st->loading_vehicles.remove(this);
|
||||
|
Reference in New Issue
Block a user