Loading

Paste #p0mtkypys

  1.             } else {
  2.                 if ((ind_behav & INDUSTRYBEH_BUILT_ONWATER) && _settings_game.construction.build_on_competitor_canal && IsWaterTile(cur_tile) && IsCanal(cur_tile)) {
  3.                     CommandCost ret = CheckTileOwnership(cur_tile);
  4.                     if (ret.Failed() && GetTileOwner(cur_tile) >= MAX_COMPANIES) return ret;
  5.                 } else {
  6.                     /* Clear the tiles, but do not affect town ratings */
  7.                     CommandCost ret = DoCommand(cur_tile, 0, 0, DC_AUTO | DC_NO_TEST_TOWN_RATING | DC_NO_MODIFY_TOWN_RATING, CMD_LANDSCAPE_CLEAR);
  8.  
  9.                     if (ret.Failed()) return ret;
  10.                 }
  11.             }

Version history

Revision # Author Created at
pfvunlauc Anonymous 15 Sep 2016, 23:38:53 UTC Diff
prelurdeq Anonymous 15 Sep 2016, 22:31:32 UTC Diff

Comments