mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-23 04:04:09 +01:00
This commit is contained in:
@@ -1728,6 +1728,7 @@ void RoadVehicle::OnNewCalendarDay()
|
||||
void RoadVehicle::OnNewEconomyDay()
|
||||
{
|
||||
if (!this->IsFrontEngine()) return;
|
||||
EconomyAgeVehicle(this);
|
||||
|
||||
if ((++this->day_counter & 7) == 0) DecreaseVehicleValue(this);
|
||||
if (this->blocked_ctr == 0) CheckVehicleBreakdown(this);
|
||||
|
||||
Reference in New Issue
Block a user