Loading

Paste #pwdz0xly8

  1.             if (company_id != INVALID_COMPANY) {
  2.                 if (company_id >= MAX_COMPANIES) return CMD_ERROR;
  3.                 if (ais_to_start != 1) return CMD_ERROR;
  4.                 if (Company::IsValidID(company_id)) return CMD_ERROR;
  5.             }

Paste #pqbk9yybt

  1.             if (company_id != INVALID_COMPANY && company_id < MAX_COMPANIES) {
  2.                 if (ais_to_start != 1 || Company::IsValidID(company_id)) return CMD_ERROR;
  3.             }

Paste #pfuhbl0yr

  1.             if (company_id != INVALID_COMPANY) {
  2.                 if (company_id >= MAX_COMPANIES) return CMD_ERROR;
  3.                 if (ais_to_start != 1) return CMD_ERROR;
  4.                 if (Company::IsValidID(company_id)) return CMD_ERROR;
  5.             }

Paste #prdve2hgh

  1.             if (company_id != INVALID_COMPANY) {
  2.                 if (ais_to_start != 1) return CMD_ERROR;
  3.                 if (company_id >= MAX_COMPANIES) return CMD_ERROR;
  4.                 if (Company::IsValidID(company_id)) return CMD_ERROR;
  5.             }

Paste #pwxfhikif

  1. planetmaker@aeolusmaximus-vortex:~/ottd$ hg clone ssh://user@host/path/to/repo/ottd-hg ottd-hg
  2. Gegenseite: abort: repository requires features unknown to this Mercurial: sparserevlog!
  3. Gegenseite: (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
  4. Abbruch: Keine passende Antwort des entfernten hg!
  5. planetmaker@aeolusmaximus-vortex:~/ottd$ hg --version

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;

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;

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;

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;

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;

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;

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;

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;

help me turn this into a

  1.     do {
  2.         if (_networking && num_companies + num_to_start >= _settings_client.network.max_companies) break;
  3.         if (num_ais + num_to_start >= (uint)_settings_game.difficulty.max_no_competitors) break;
  4.     } while (_settings_game.difficulty.max_no_competitors - ++num_to_start > 0 && AI::GetStartNextTime(num_to_start) == 0);

Paste #pxgha6sev

  1. Python build finished successfully!
  2. The necessary bits to build these optional modules were not found:
  3. _dbm                  _gdbm                                    
  4. To find the necessary bits, look in setup.py in detect_modules() for the module's name.