mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Change INITIAL_STATE_TICKS_VALUE to be an integer multiple of useful values
This commit is contained in:
parent
fd66e9d8cc
commit
397a30bffc
@ -398,7 +398,7 @@ static const int TOWN_GROWTH_TICKS = 70; ///< cycle duration for towns t
|
||||
static const int INDUSTRY_CUT_TREE_TICKS = INDUSTRY_PRODUCE_TICKS * 2; ///< cycle duration for lumber mill's extra action
|
||||
|
||||
/** An initial value for StateTicks when starting a new game */
|
||||
static constexpr StateTicks INITIAL_STATE_TICKS_VALUE = 1 << 24;
|
||||
static constexpr StateTicks INITIAL_STATE_TICKS_VALUE = 128 * 24 * 60 * 74; // Value chosen to make it an integer multiple of various convenient values
|
||||
|
||||
/** Invalid state ticks value */
|
||||
static constexpr StateTicks INVALID_STATE_TICKS = INT64_MIN;
|
||||
|
Loading…
Reference in New Issue
Block a user