equal
deleted
inserted
replaced
1645 int j; |
1645 int j; |
1646 Industry *i; |
1646 Industry *i; |
1647 |
1647 |
1648 type = _new_industry_rand[_opt.landscape][GB(r, 16, 5)]; |
1648 type = _new_industry_rand[_opt.landscape][GB(r, 16, 5)]; |
1649 |
1649 |
1650 if (type == IT_OIL_WELL && _date > 10958) return; |
1650 if (type == IT_OIL_WELL && _cur_year > 1950) return; |
1651 if (type == IT_OIL_RIG && _date < 14610) return; |
1651 if (type == IT_OIL_RIG && _cur_year < 1960) return; |
1652 |
1652 |
1653 j = 2000; |
1653 j = 2000; |
1654 for (;;) { |
1654 for (;;) { |
1655 i = CreateNewIndustry(RandomTile(), type); |
1655 i = CreateNewIndustry(RandomTile(), type); |
1656 if (i != NULL) break; |
1656 if (i != NULL) break; |