Merge remote-tracking branch 'upstream/master'

This commit is contained in:
dP
2024-03-17 01:25:55 +07:00
164 changed files with 9321 additions and 6017 deletions
+1
View File
@@ -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);