mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 08:52:40 +01:00
* Fix #13299: Merge IT_INVALID and INVALID_INDUSTRYTYPE * Codefix: Use NUM_INDUSTRYTILES where it's intended
This commit is contained in:
@@ -136,7 +136,7 @@ const IndustrySpec *GetIndustrySpec(IndustryType thistype)
|
||||
*/
|
||||
const IndustryTileSpec *GetIndustryTileSpec(IndustryGfx gfx)
|
||||
{
|
||||
assert(gfx < INVALID_INDUSTRYTILE);
|
||||
assert(gfx < NUM_INDUSTRYTILES);
|
||||
return &_industry_tile_specs[gfx];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user