Merge branch 'scheduled-dispatch-sx' into jgrpp

This commit is contained in:
Jonathan G Rennison
2017-06-08 23:27:33 +01:00
21 changed files with 1387 additions and 8 deletions

View File

@@ -932,6 +932,7 @@ void Vehicle::PreDestructor()
DeleteWindowById(WC_VEHICLE_REFIT, this->index);
DeleteWindowById(WC_VEHICLE_DETAILS, this->index);
DeleteWindowById(WC_VEHICLE_TIMETABLE, this->index);
DeleteWindowById(WC_SCHDISPATCH_SLOTS, 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);