Loading

Revision differences

Old revision #poldjwubsNew revision #pxd5mqdhw
9    for (num_to_start_for = 0; (uint)_settings_game.difficulty.max_no_competitors - num_to_start_for > 0; num_to_start_for++) {  9    for (num_to_start_for = 0; (uint)_settings_game.difficulty.max_no_competitors - num_to_start_for > 0; num_to_start_for++) {  
10        if (_networking && num_companies + num_to_start_for >= _settings_client.network.max_companies) break;  10        if (_networking && num_companies + num_to_start_for >= _settings_client.network.max_companies) break;  
11        if (num_ais + num_to_start_for >= (uint)_settings_game.difficulty.max_no_competitors) break;  11        if (num_ais + num_to_start_for >= (uint)_settings_game.difficulty.max_no_competitors) break;  
12        if ((uint)_settings_game.difficulty.max_no_competitors - num_to_start_for + 1 <= 0 || AI::GetStartNextTime(num_to_start + 1) > 0) break;  12        if ((uint)_settings_game.difficulty.max_no_competitors - num_to_start_for + 1 <= 0 || AI::GetStartNextTime(num_to_start_for + 1) > 0) break;
13    }  13    }  
14    assert(num_to_start == num_to_start_for); 14    assert(num_to_start == num_to_start_for);