mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r10447) -Codechange: Don't need to specify values on an enum when those values are contiguous
This commit is contained in:
parent
666241e925
commit
5e7d4ffe9f
@ -37,15 +37,15 @@ enum IndustryLifeType {
|
|||||||
/* Procedures that can be run to check whether an industry may
|
/* Procedures that can be run to check whether an industry may
|
||||||
* build at location the given to the procedure */
|
* build at location the given to the procedure */
|
||||||
enum CheckProc {
|
enum CheckProc {
|
||||||
CHECK_NOTHING = 0,
|
CHECK_NOTHING,
|
||||||
CHECK_FOREST = 1,
|
CHECK_FOREST,
|
||||||
CHECK_REFINERY = 2,
|
CHECK_REFINERY,
|
||||||
CHECK_FARM = 3,
|
CHECK_FARM,
|
||||||
CHECK_PLANTATION = 4,
|
CHECK_PLANTATION,
|
||||||
CHECK_WATER = 5,
|
CHECK_WATER,
|
||||||
CHECK_LUMBERMILL = 6,
|
CHECK_LUMBERMILL,
|
||||||
CHECK_BUBBLEGEN = 7,
|
CHECK_BUBBLEGEN,
|
||||||
CHECK_OIL_RIG = 8,
|
CHECK_OIL_RIG,
|
||||||
CHECK_END,
|
CHECK_END,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user