Spread tile loop iterations over all ticks when using day length > 1

See: #545
This commit is contained in:
Jonathan G Rennison
2023-06-17 19:32:33 +01:00
parent 8c600fd480
commit 410d5bdc55
6 changed files with 35 additions and 6 deletions

View File

@@ -1743,6 +1743,8 @@ static void DayLengthChanged(int32 new_value)
extern void VehicleDayLengthChanged(DateTicksScaled old_scaled_date_ticks, DateTicksScaled old_scaled_date_ticks_offset, uint8 old_day_length_factor);
VehicleDayLengthChanged(old_scaled_date_ticks, old_scaled_date_ticks_offset, _pre_change_day_length_factor);
SetupTileLoopCounts();
MarkWholeScreenDirty();
}