From 397a30bffc87e759459f32ad3c425a95b438b68b Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Thu, 22 Aug 2024 16:37:07 +0100 Subject: [PATCH] Change INITIAL_STATE_TICKS_VALUE to be an integer multiple of useful values --- src/date_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/date_type.h b/src/date_type.h index 2321a0e34d..4dfdb2f42e 100644 --- a/src/date_type.h +++ b/src/date_type.h @@ -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;