equal
deleted
inserted
replaced
1888 IndustryType type = grf_load_byte(&buf); //industry holding required layout |
1888 IndustryType type = grf_load_byte(&buf); //industry holding required layout |
1889 byte laynbr = grf_load_byte(&buf); //layout number to borrow |
1889 byte laynbr = grf_load_byte(&buf); //layout number to borrow |
1890 |
1890 |
1891 copy_from = (IndustryTileTable*)_origin_industry_specs[type].table[laynbr]; |
1891 copy_from = (IndustryTileTable*)_origin_industry_specs[type].table[laynbr]; |
1892 for (size = 1;; size++) { |
1892 for (size = 1;; size++) { |
1893 if (_origin_industry_specs[type].table[laynbr + (size - 1)]->ti.x == -0x80 && |
1893 if (copy_from[size - 1].ti.x == -0x80 && copy_from[size - 1].ti.y) break; |
1894 _origin_industry_specs[type].table[laynbr + (size - 1)]->ti.y == 0) break; |
|
1895 } |
1894 } |
1896 break; |
1895 break; |
1897 } |
1896 } |
1898 |
1897 |
1899 itt[k].ti.y = grf_load_byte(&buf); // Or table definition finalisation |
1898 itt[k].ti.y = grf_load_byte(&buf); // Or table definition finalisation |