Show vehicle route markers when cargo load by type window focused.

This commit is contained in:
Jonathan G Rennison
2016-09-22 00:38:44 +01:00
parent 662d0e94ab
commit 16ce37ad14
4 changed files with 31 additions and 0 deletions

View File

@@ -877,6 +877,8 @@ void Vehicle::PreDestructor()
DeleteWindowById(WC_VEHICLE_REFIT, this->index);
DeleteWindowById(WC_VEHICLE_DETAILS, this->index);
DeleteWindowById(WC_VEHICLE_TIMETABLE, this->index);
DeleteWindowById(WC_VEHICLE_CARGO_TYPE_LOAD_ORDERS, this->index);
DeleteWindowById(WC_VEHICLE_CARGO_TYPE_UNLOAD_ORDERS, this->index);
SetWindowDirty(WC_COMPANY, this->owner);
OrderBackup::ClearVehicle(this);
}