summaryrefslogtreecommitdiff
path: root/src/object_type.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-10-12 16:31:55 +0000
committerfrosch <frosch@openttd.org>2013-10-12 16:31:55 +0000
commitac599625da28a448a4f9ec655e4767e6436d0e16 (patch)
tree9f9ccc7865a0beeb2a19ddba30a76b8686001fc9 /src/object_type.h
parent60f483822f07e6b3e0b680ebe9353ccefa9c2c52 (diff)
downloadopenttd-ac599625da28a448a4f9ec655e4767e6436d0e16.tar.xz
(svn r25835) -Change: Increase the total number of object types from 256 to 64000.
Diffstat (limited to 'src/object_type.h')
-rw-r--r--src/object_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object_type.h b/src/object_type.h
index 9716b360e..1ebb24d53 100644
--- a/src/object_type.h
+++ b/src/object_type.h
@@ -24,7 +24,7 @@ static const ObjectType OBJECT_HQ = 4; ///< HeadQuarter of a play
static const ObjectType NUM_OBJECTS_PER_GRF = 255; ///< Number of supported objects per NewGRF; limited to 255 to allow extending Action3 with an extended byte later on.
static const ObjectType NEW_OBJECT_OFFSET = 5; ///< Offset for new objects
-static const ObjectType NUM_OBJECTS = 256; ///< Number of supported objects overall
+static const ObjectType NUM_OBJECTS = 64000; ///< Number of supported objects overall
static const ObjectType INVALID_OBJECT_TYPE = 0xFFFF; ///< An invalid object
/** Unique identifier for an object. */