From aa0212515882c5a90c3f2cb86f05952b832a5a9f Mon Sep 17 00:00:00 2001 From: darkvater Date: Mon, 6 Sep 2004 18:22:25 +0000 Subject: (svn r166) -Codechange: change 74 for constant DAY_TICKS --- players.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'players.c') 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() -- cgit v1.2.3-54-g00ecf