summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h
index 4ccca97b8..2d9fe5665 100644
--- a/src/newgrf_object.h
+++ b/src/newgrf_object.h
@@ -46,7 +46,7 @@ void ResetObjects();
/** Class IDs for objects. */
enum ObjectClassID {
OBJECT_CLASS_BEGIN = 0, ///< The lowest valid value
- OBJECT_CLASS_MAX = 32, ///< Maximum number of classes.
+ OBJECT_CLASS_MAX = 0xFF, ///< Maximum number of classes.
INVALID_OBJECT_CLASS = 0xFF, ///< Class for the less fortunate.
};
/** Allow incrementing of ObjectClassID variables */