Loading

help me turn this into a

  1.     /* Count number of AI companies to start. */
  2.     uint num_to_start = 0;
  3.     do {
  4.         if (_networking && num_companies + num_to_start >= _settings_client.network.max_companies) break;
  5.         if (num_ais + num_to_start >= (uint)_settings_game.difficulty.max_no_competitors) break;
  6.         num_to_start++;
  7.     } while ((!_networking || num_to_start < _settings_client.network.max_companies) &&
  8.             num_to_start < (uint)_settings_game.difficulty.max_no_competitors && AI::GetStartNextTime(num_to_start) == 0);

Version history

Revision # Author Created at
ptdw9hrs9 Anonymous 23 Mar 2019, 23:01:36 UTC Diff
pxd5mqdhw Anonymous 23 Mar 2019, 22:35:35 UTC Diff
poldjwubs Anonymous 23 Mar 2019, 22:34:35 UTC Diff
phxge1bu8 Anonymous 23 Mar 2019, 22:33:40 UTC Diff
pixwxtrxo Anonymous 23 Mar 2019, 20:28:40 UTC Diff

Comments