(svn r9984) -Codechange: Remove an obsolete structure and a now meaningless enum, in favor of the "real thing"

This commit is contained in:
belugas
2007-05-30 02:08:18 +00:00
parent 0a3ebbbc22
commit c3f8c58157
3 changed files with 3 additions and 10 deletions

View File

@@ -108,12 +108,12 @@ const IndustrySpec *GetIndustrySpec(IndustryType thistype)
* This will ensure at once : proper access and
* not allowing modifications of it.
* @param gfx of industrytile (which is the index in _industry_specs)
* @pre gfx < NUM_INDUSTRY_GFXES
* @pre gfx < INVALID_INDUSTRYTILE
* @return a pointer to the corresponding industrytile spec
**/
const IndustryTileSpec *GetIndustryTileSpec(IndustryGfx gfx)
{
assert(gfx < NUM_INDUSTRY_GFXES);
assert(gfx < INVALID_INDUSTRYTILE);
return &_industry_tile_specs[gfx];
}