mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 08:52:40 +01:00
Change: Make _tick_counter 64bit to avoid wrapping (#10035)
This commit is contained in:
@@ -27,7 +27,7 @@ Year _cur_year; ///< Current year, starting at 0
|
||||
Month _cur_month; ///< Current month (0..11)
|
||||
Date _date; ///< Current date in days (day counter)
|
||||
DateFract _date_fract; ///< Fractional part of the day.
|
||||
uint16 _tick_counter; ///< Ever incrementing (and sometimes wrapping) tick counter for setting off various events
|
||||
uint64 _tick_counter; ///< Ever incrementing tick counter for setting off various events
|
||||
|
||||
/**
|
||||
* Set the date.
|
||||
|
||||
Reference in New Issue
Block a user