equal
deleted
inserted
replaced
130 * @return the gfx ID |
130 * @return the gfx ID |
131 */ |
131 */ |
132 static inline IndustryGfx GetIndustryGfx(TileIndex t) |
132 static inline IndustryGfx GetIndustryGfx(TileIndex t) |
133 { |
133 { |
134 assert(IsTileType(t, MP_INDUSTRY)); |
134 assert(IsTileType(t, MP_INDUSTRY)); |
135 return _m[t].m5; |
135 return GetTranslatedIndustryTileID(_m[t].m5 | (GB(_m[t].m6, 2, 1) << 8)); |
136 } |
136 } |
137 |
137 |
138 /** |
138 /** |
139 * Set the industry graphics ID for the given industry tile |
139 * Set the industry graphics ID for the given industry tile |
140 * @param t the tile to set the gfx for |
140 * @param t the tile to set the gfx for |