Scale displayed running costs by day length factor
This commit is contained in:
@@ -572,7 +572,7 @@ public:
|
||||
* Gets the running cost of a vehicle that can be sent into SetDParam for string processing.
|
||||
* @return the vehicle's running cost
|
||||
*/
|
||||
Money GetDisplayRunningCost() const { return (this->GetRunningCost() >> 8); }
|
||||
Money GetDisplayRunningCost() const { return (this->GetRunningCost() >> 8) * _settings_game.economy.day_length_factor; }
|
||||
|
||||
/**
|
||||
* Gets the profit vehicle had this year. It can be sent into SetDParam for string processing.
|
||||
|
Reference in New Issue
Block a user