mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
Codechange: Declare all IntervalTimers const, which can be const.
This commit is contained in:
+1
-1
@@ -4226,7 +4226,7 @@ void OnTick_Station()
|
||||
}
|
||||
|
||||
/** Economy monthly loop for stations. */
|
||||
static IntervalTimer<TimerGameEconomy> _economy_stations_monthly({TimerGameEconomy::MONTH, TimerGameEconomy::Priority::STATION}, [](auto)
|
||||
static const IntervalTimer<TimerGameEconomy> _economy_stations_monthly({TimerGameEconomy::MONTH, TimerGameEconomy::Priority::STATION}, [](auto)
|
||||
{
|
||||
for (Station *st : Station::Iterate()) {
|
||||
for (GoodsEntry &ge : st->goods) {
|
||||
|
||||
Reference in New Issue
Block a user