From b1131671d46d43e6d010afdd85741009013ae5b5 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 12 Oct 2013 16:30:05 +0000 Subject: (svn r25831) -Change: Increase the object class limit from 32 to 255. (sbr) --- src/newgrf_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_object.h') 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 */ -- cgit v1.2.3-54-g00ecf