(svn r2617) - Fix: fix some warnings, and reenable vs.net2003 signed/unsigned warnings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user