Move order occupancy smoothness to company settings.
This commit is contained in:
@@ -439,7 +439,8 @@ struct OrderSettings {
|
||||
bool selectgoods; ///< only send the goods to station if a train has been there
|
||||
bool no_servicing_if_no_breakdowns; ///< don't send vehicles to depot when breakdowns are disabled
|
||||
bool serviceathelipad; ///< service helicopters at helipads automatically (no need to send to depot)
|
||||
uint8 occupancy_smoothness; ///< percentage smoothness of occupancy measurement changes
|
||||
|
||||
uint8 old_occupancy_smoothness; ///< moved to company settings: percentage smoothness of occupancy measurement changes
|
||||
};
|
||||
|
||||
/** Settings related to vehicles. */
|
||||
@@ -536,6 +537,7 @@ struct CompanySettings {
|
||||
uint32 engine_renew_money; ///< minimum amount of money before autorenew is used
|
||||
bool renew_keep_length; ///< sell some wagons if after autoreplace the train is longer than before
|
||||
VehicleDefaultSettings vehicle; ///< default settings for vehicles
|
||||
uint8 order_occupancy_smoothness; ///< percentage smoothness of occupancy measurement changes
|
||||
};
|
||||
|
||||
/** All settings together for the game. */
|
||||
|
Reference in New Issue
Block a user