equal
deleted
inserted
replaced
835 { |
835 { |
836 int index = i - _industries; |
836 int index = i - _industries; |
837 |
837 |
838 BEGIN_TILE_LOOP(tile_cur, i->width, i->height, i->xy); |
838 BEGIN_TILE_LOOP(tile_cur, i->width, i->height, i->xy); |
839 if (IS_TILETYPE(tile_cur, MP_INDUSTRY)) { |
839 if (IS_TILETYPE(tile_cur, MP_INDUSTRY)) { |
840 if (_map2[tile_cur] == (byte)index) { |
840 if (_map2[tile_cur] == (uint16)index) { |
841 DoClearSquare(tile_cur); |
841 DoClearSquare(tile_cur); |
842 } |
842 } |
843 } else if (IS_TILETYPE(tile_cur, MP_STATION) && _map5[tile_cur] == 0x4B) { |
843 } else if (IS_TILETYPE(tile_cur, MP_STATION) && _map5[tile_cur] == 0x4B) { |
844 DeleteOilRig(tile_cur); |
844 DeleteOilRig(tile_cur); |
845 } |
845 } |