equal
deleted
inserted
replaced
1530 if (--num < 0) return_cmd_error(STR_0239_SITE_UNSUITABLE); |
1530 if (--num < 0) return_cmd_error(STR_0239_SITE_UNSUITABLE); |
1531 } while (!CheckIfIndustryTilesAreFree(tile, it = itt[num], p1)); |
1531 } while (!CheckIfIndustryTilesAreFree(tile, it = itt[num], p1)); |
1532 |
1532 |
1533 if (CreateNewIndustryHelper(tile, p1, flags, indspec, it) == NULL) return CMD_ERROR; |
1533 if (CreateNewIndustryHelper(tile, p1, flags, indspec, it) == NULL) return CMD_ERROR; |
1534 |
1534 |
1535 return (_price.build_industry >> 5) * indspec->cost_multiplier; |
1535 return (_eco->GetPrice(CEconomy::BUILD_INDUSTRY) >> 5) * indspec->cost_multiplier; |
1536 } |
1536 } |
1537 |
1537 |
1538 |
1538 |
1539 Industry *CreateNewIndustry(TileIndex tile, IndustryType type) |
1539 Industry *CreateNewIndustry(TileIndex tile, IndustryType type) |
1540 { |
1540 { |