diff options
author | darkvater <darkvater@openttd.org> | 2004-09-06 18:22:25 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-09-06 18:22:25 +0000 |
commit | aa0212515882c5a90c3f2cb86f05952b832a5a9f (patch) | |
tree | ef79f4519291cb14b916d6ee44f742eedae48690 /players.c | |
parent | bf0652d3fce57024fe56f75d43898a261fea7570 (diff) | |
download | openttd-aa0212515882c5a90c3f2cb86f05952b832a5a9f.tar.xz |
(svn r166) -Codechange: change 74 for constant DAY_TICKS
Diffstat (limited to 'players.c')
-rw-r--r-- | players.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() |