summaryrefslogtreecommitdiff
path: root/src/industry_map.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-08-26 00:23:32 +0000
committerbelugas <belugas@openttd.org>2007-08-26 00:23:32 +0000
commit182283a67ce4c28cc47c9b978f8c9b9075538ef4 (patch)
tree0f57c81b2cea7b7400fef85da190e3b2d551f3cc /src/industry_map.h
parente93f41676fbbd55744abe4dcf42affb0c2573526 (diff)
downloadopenttd-182283a67ce4c28cc47c9b978f8c9b9075538ef4.tar.xz
(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 ;)
Diffstat (limited to 'src/industry_map.h')
-rw-r--r--src/industry_map.h1
1 files changed, 1 insertions, 0 deletions
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
};
/**