From 182283a67ce4c28cc47c9b978f8c9b9075538ef4 Mon Sep 17 00:00:00 2001 From: belugas Date: Sun, 26 Aug 2007 00:23:32 +0000 Subject: (svn r10980) -Fix [FS#1158] : This will hopefully fix the case of an assert that happens when an industry uses a special gfx index (tile spec 0xFF). This 0xFF is the sentinel of a special check done for oil rigs, where water need to be around, but no tile will be constructed on it. Problem is that the upper limit of gfx tiles is currently at 175. So, of course the system will assert with 255 ;) --- src/industry_map.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/industry_map.h') diff --git a/src/industry_map.h b/src/industry_map.h index 18e72eb33..888f8f7a6 100644 --- a/src/industry_map.h +++ b/src/industry_map.h @@ -48,6 +48,7 @@ enum { GFX_BUBBLE_CATCHER = 162, GFX_TOFFEE_QUARY = 165, GFX_SUGAR_MINE_SIEVE = 174, + GFX_WATERTILE_SPECIALCHECK = 255, ///< not really a tile, but rather a very special check }; /** -- cgit v1.2.3-54-g00ecf