| Old revision #pwhxeitqi | New revision #plrxydqmr | ||
|---|---|---|---|
| 5 | i->location.Add(cur_tile); | 5 | i->location.Add(cur_tile); |
| 6 | 6 | ||
| 7 | WaterClass wc = (IsWaterTile(cur_tile) ? GetWaterClass(cur_tile) : WATER_CLASS_INVALID); | 7 | WaterClass wc = (IsWaterTile(cur_tile) ? GetWaterClass(cur_tile) : WATER_CLASS_INVALID); |
| 8 | | 8 | Owner old_owner = GetTileOwner(cur_tile); |
| 9 | DoCommand(cur_tile, 0, 0, DC_EXEC | DC_NO_TEST_TOWN_RATING | DC_NO_MODIFY_TOWN_RATING, CMD_LANDSCAPE_CLEAR); | 9 | DoCommand(cur_tile, 0, 0, DC_EXEC | DC_NO_TEST_TOWN_RATING | DC_NO_MODIFY_TOWN_RATING, CMD_LANDSCAPE_CLEAR); |
| 10 | | 10 | SetTileOwner(cur_tile, old_owner); |
| 11 | MakeIndustry(cur_tile, i->index, it->gfx, Random(), wc); | 11 | MakeIndustry(cur_tile, i->index, it->gfx, Random(), wc); |
| 12 | 12 | ||
| 13 | if (_generating_world) { | 13 | if (_generating_world) { |