mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-24 12:44:10 +01:00
Codechange: Declare all IntervalTimers const, which can be const.
This commit is contained in:
@@ -2002,7 +2002,7 @@ void ResetSignalVariant(int32_t)
|
||||
}
|
||||
}
|
||||
|
||||
static IntervalTimer<TimerGameCalendar> _check_reset_signal({TimerGameCalendar::YEAR, TimerGameCalendar::Priority::NONE}, [](auto)
|
||||
static const IntervalTimer<TimerGameCalendar> _check_reset_signal({TimerGameCalendar::YEAR, TimerGameCalendar::Priority::NONE}, [](auto)
|
||||
{
|
||||
if (TimerGameCalendar::year != _settings_client.gui.semaphore_build_before) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user