Fix order backup not copying dispatch schedules when not enabled
See: #559
This commit is contained in:
@@ -56,4 +56,9 @@ void BaseConsist::CopyConsistPropertiesFrom(const BaseConsist *src)
|
||||
} else {
|
||||
ClrBit(this->vehicle_flags, VF_TIMETABLE_SEPARATION);
|
||||
}
|
||||
if (HasBit(src->vehicle_flags, VF_SCHEDULED_DISPATCH)) {
|
||||
SetBit(this->vehicle_flags, VF_SCHEDULED_DISPATCH);
|
||||
} else {
|
||||
ClrBit(this->vehicle_flags, VF_SCHEDULED_DISPATCH);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user