1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-26 21:54:22 +01:00

Codechange: Declare all IntervalTimers const, which can be const.

This commit is contained in:
frosch
2025-04-27 17:09:01 +02:00
committed by frosch
parent 61cec33be2
commit 0d5b3ebd7f
37 changed files with 60 additions and 60 deletions

View File

@@ -422,7 +422,7 @@ bool FindSubsidyCargoDestination(CargoType cargo_type, Source src)
}
/** Perform the economy monthly update of open subsidies, and try to create a new one. */
static IntervalTimer<TimerGameEconomy> _economy_subsidies_monthly({TimerGameEconomy::MONTH, TimerGameEconomy::Priority::SUBSIDY}, [](auto)
static const IntervalTimer<TimerGameEconomy> _economy_subsidies_monthly({TimerGameEconomy::MONTH, TimerGameEconomy::Priority::SUBSIDY}, [](auto)
{
bool modified = false;