mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 01:12:39 +01:00
This commit is contained in:
@@ -266,6 +266,8 @@ void Ship::OnNewCalendarDay()
|
||||
/** Economy day handler. */
|
||||
void Ship::OnNewEconomyDay()
|
||||
{
|
||||
EconomyAgeVehicle(this);
|
||||
|
||||
if ((++this->day_counter & 7) == 0) {
|
||||
DecreaseVehicleValue(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user