summaryrefslogtreecommitdiff
path: root/players.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-07-17 18:11:17 +0000
committerDarkvater <darkvater@openttd.org>2005-07-17 18:11:17 +0000
commitff2662ebe7b9812246a8e5755d335a247c0d3c1f (patch)
tree693c61f46666bfa8efbb34fd9c4ffa2e55f4d48b /players.c
parentb9a6c16461a310ef1b6358a436a9f891b130d6b6 (diff)
downloadopenttd-ff2662ebe7b9812246a8e5755d335a247c0d3c1f.tar.xz
(svn r2617) - Fix: fix some warnings, and reenable vs.net2003 signed/unsigned warnings
Diffstat (limited to 'players.c')
-rw-r--r--players.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/players.c b/players.c
index 590e2f66a..c1b463ee0 100644
--- a/players.c
+++ b/players.c
@@ -522,7 +522,7 @@ static void MaybeStartNewPlayer(void)
// when there's a lot of computers in game, the probability that a new one starts is lower
if (n < (uint)_opt.diff.max_no_competitors)
- if (n < (!_network_server) ? RandomRange(_opt.diff.max_no_competitors + 2) : InteractiveRandomRange(_opt.diff.max_no_competitors + 2))
+ if (n < (!_network_server ? RandomRange(_opt.diff.max_no_competitors + 2) : InteractiveRandomRange(_opt.diff.max_no_competitors + 2)) )
DoStartupNewPlayer(true);
// The next AI starts like the difficulty setting said, with +2 month max