mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
Feature: Order flag to unbunch vehicles at depot (#11945)
This commit is contained in:
@@ -42,3 +42,13 @@ void BaseConsist::CopyConsistPropertiesFrom(const BaseConsist *src)
|
||||
}
|
||||
if (HasBit(src->vehicle_flags, VF_SERVINT_IS_CUSTOM)) SetBit(this->vehicle_flags, VF_SERVINT_IS_CUSTOM);
|
||||
}
|
||||
|
||||
/**
|
||||
* Resets all the data used for depot unbunching.
|
||||
*/
|
||||
void BaseConsist::ResetDepotUnbunching()
|
||||
{
|
||||
this->depot_unbunching_last_departure = 0;
|
||||
this->depot_unbunching_next_departure = 0;
|
||||
this->round_trip_time = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user