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

View File

@@ -266,6 +266,8 @@ void Ship::OnNewCalendarDay()
/** Economy day handler. */
void Ship::OnNewEconomyDay()
{
EconomyAgeVehicle(this);
if ((++this->day_counter & 7) == 0) {
DecreaseVehicleValue(this);
}