1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 08:52:40 +01:00

Codechange: Add constant for common blink interval.

This commit is contained in:
Peter Nelson
2025-06-02 19:13:29 +01:00
committed by Peter Nelson
parent ecafbf884e
commit 10841ea3fd
3 changed files with 5 additions and 2 deletions

View File

@@ -730,7 +730,7 @@ protected:
}
/** Blink the industries (if selected) on a regular interval. */
const IntervalTimer<TimerWindow> blink_interval = {std::chrono::milliseconds(450), [this](auto) {
const IntervalTimer<TimerWindow> blink_interval = {TIMER_BLINK_INTERVAL, [this](auto) {
Blink();
}};