Timetable auto separation is now per vehicle, with a company default.
Remove global on-off setting. Add button to timetable GUI. Add company setting to control default for new vehicles. Fix automate, start date, change time and autofill buttons being shown enabled for other companies' vehicles.
This commit is contained in:
@@ -493,10 +493,13 @@ static void Load_PLYR()
|
||||
SaveLoad_PLYR(c);
|
||||
_company_colours[index] = (Colours)c->colour;
|
||||
|
||||
// setting moved from game settings to company settings
|
||||
// settings moved from game settings to company settings
|
||||
if (SlXvIsFeaturePresent(XSLFI_AUTO_TIMETABLE, 1, 2)) {
|
||||
c->settings.auto_timetable_separation_rate = _settings_game.order.old_timetable_separation_rate;
|
||||
}
|
||||
if (SlXvIsFeaturePresent(XSLFI_AUTO_TIMETABLE, 1, 3)) {
|
||||
c->settings.vehicle.auto_separation_by_default = _settings_game.order.old_timetable_separation;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user