Remove global automated timetable setting.
This commit is contained in:
@@ -775,8 +775,7 @@ CommandCost CmdBuildRailVehicle(TileIndex tile, DoCommandFlag flags, const Engin
|
||||
|
||||
if (e->flags & ENGINE_EXCLUSIVE_PREVIEW) SetBit(v->vehicle_flags, VF_BUILT_AS_PROTOTYPE);
|
||||
v->SetServiceIntervalIsPercent(Company::Get(_current_company)->settings.vehicle.servint_ispercent);
|
||||
SB(v->vehicle_flags, VF_AUTOMATE_TIMETABLE, 1,
|
||||
_settings_game.order.timetable_automated && Company::Get(_current_company)->settings.vehicle.auto_timetable_by_default);
|
||||
SB(v->vehicle_flags, VF_AUTOMATE_TIMETABLE, 1, Company::Get(_current_company)->settings.vehicle.auto_timetable_by_default);
|
||||
|
||||
v->group_id = DEFAULT_GROUP;
|
||||
|
||||
|
Reference in New Issue
Block a user