summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-04-19 14:50:01 +0000
committerbelugas <belugas@openttd.org>2007-04-19 14:50:01 +0000
commit95ae29b47065c5d16636ff56677067bc32e05c5c (patch)
treee6df3a8202ea6550cc0e5cb69e56be828c2f5575 /src/industry.h
parent2dc558929088ec99f403e84305fad72cafe2fa08 (diff)
downloadopenttd-95ae29b47065c5d16636ff56677067bc32e05c5c.tar.xz
(svn r9676) -Codechange: introduce NUM_INDUSTRYTYPES instead of IT_END.
This makes the code clearer.
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/industry.h b/src/industry.h
index 22952b2f2..b0082d164 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -13,6 +13,7 @@ typedef uint8 IndustryType;
enum {
INVALID_INDUSTRY = 0xFFFF,
+ NUM_INDUSTRYTYPES = 37,
INDUTILE_NOANIM = 0xFF, ///< flag to mark industry tiles as having no animation
};