summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-10-12 16:30:05 +0000
committerfrosch <frosch@openttd.org>2013-10-12 16:30:05 +0000
commitb1131671d46d43e6d010afdd85741009013ae5b5 (patch)
treef454047796c85741cfac9e298cc72de925e676f3 /src
parent3d5a91424a372b84753c12caa6ea1b94b71082df (diff)
downloadopenttd-b1131671d46d43e6d010afdd85741009013ae5b5.tar.xz
(svn r25831) -Change: Increase the object class limit from 32 to 255. (sbr)
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 */