From 425ea508543d3473f1759530154b08cf1e51bfc4 Mon Sep 17 00:00:00 2001 From: belugas Date: Wed, 30 May 2007 02:08:18 +0000 Subject: (svn r9984) -Codechange: Remove an obsolete structure and a now meaningless enum, in favor of the "real thing" --- src/industry_cmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/industry_cmd.cpp') diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 2cf72a1fd..5077f4b96 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -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]; } -- cgit v1.2.3-70-g09d2