summaryrefslogtreecommitdiff
path: root/players.c
diff options
context:
space:
mode:
Diffstat (limited to 'players.c')
-rw-r--r--players.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/players.c b/players.c
index 833f1dcf2..020b0d0f6 100644
--- a/players.c
+++ b/players.c
@@ -494,7 +494,7 @@ Player *DoStartupNewPlayer(bool is_ai)
void StartupPlayers()
{
// The AI starts like in the setting with +2 month max
- _next_competitor_start = _opt.diff.competitor_start_time * 90 * 74 + RandomRange(60 * 74) + 1;
+ _next_competitor_start = _opt.diff.competitor_start_time * 90 * DAY_TICKS + RandomRange(60 * DAY_TICKS) + 1;
}
static void MaybeStartNewPlayer()
@@ -513,7 +513,7 @@ static void MaybeStartNewPlayer()
DoStartupNewPlayer(true);
// The next AI starts like the difficulty setting said, with +2 month max
- _next_competitor_start = _opt.diff.competitor_start_time * 90 * 74 + RandomRange(60 * 74) + 1;
+ _next_competitor_start = _opt.diff.competitor_start_time * 90 * DAY_TICKS + RandomRange(60 * DAY_TICKS) + 1;
}
void InitializePlayers()