summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-07-05 16:26:56 +0000
committerbelugas <belugas@openttd.org>2007-07-05 16:26:56 +0000
commitf21f6554d882d9081096761d116ccb7430678749 (patch)
treedbb18431a089bb4a395cd450f5f76f3e1b01451c /src
parentb9534939303c9b76438a538b37c90dddfbe0e225 (diff)
downloadopenttd-f21f6554d882d9081096761d116ccb7430678749.tar.xz
(svn r10447) -Codechange: Don't need to specify values on an enum when those values are contiguous
Diffstat (limited to 'src')
-rw-r--r--src/industry.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/industry.h b/src/industry.h
index e2e5c3aa7..08117cbd7 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -37,15 +37,15 @@ enum IndustryLifeType {
/* Procedures that can be run to check whether an industry may
* build at location the given to the procedure */
enum CheckProc {
- CHECK_NOTHING = 0,
- CHECK_FOREST = 1,
- CHECK_REFINERY = 2,
- CHECK_FARM = 3,
- CHECK_PLANTATION = 4,
- CHECK_WATER = 5,
- CHECK_LUMBERMILL = 6,
- CHECK_BUBBLEGEN = 7,
- CHECK_OIL_RIG = 8,
+ CHECK_NOTHING,
+ CHECK_FOREST,
+ CHECK_REFINERY,
+ CHECK_FARM,
+ CHECK_PLANTATION,
+ CHECK_WATER,
+ CHECK_LUMBERMILL,
+ CHECK_BUBBLEGEN,
+ CHECK_OIL_RIG,
CHECK_END,
};