@@ -1887,14 +1887,13 @@ static bool IndustriesChangeInfo(uint in
/* This means we have to borrow the layout from an old industry */
IndustryType type = grf_load_byte(&buf); //industry holding required layout
byte laynbr = grf_load_byte(&buf); //layout number to borrow
copy_from = (IndustryTileTable*)_origin_industry_specs[type].table[laynbr];
for (size = 1;; size++) {
if (_origin_industry_specs[type].table[laynbr + (size - 1)]->ti.x == -0x80 &&
_origin_industry_specs[type].table[laynbr + (size - 1)]->ti.y == 0) break;
if (copy_from[size - 1].ti.x == -0x80 && copy_from[size - 1].ti.y) break;
}
break;
itt[k].ti.y = grf_load_byte(&buf); // Or table definition finalisation