From 69a0c91d63df017f99137c4d70d69fa32d3822f9 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 12 Oct 2013 16:35:50 +0000 Subject: (svn r25844) -Change: Increase maximum number of object instances on the map from 64k to about 16M. --- src/object_type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/object_type.h') diff --git a/src/object_type.h b/src/object_type.h index 1ebb24d53..4ead576f3 100644 --- a/src/object_type.h +++ b/src/object_type.h @@ -28,11 +28,11 @@ static const ObjectType NUM_OBJECTS = 64000; ///< Number of supported o static const ObjectType INVALID_OBJECT_TYPE = 0xFFFF; ///< An invalid object /** Unique identifier for an object. */ -typedef uint16 ObjectID; +typedef uint32 ObjectID; struct Object; struct ObjectSpec; -static const ObjectID INVALID_OBJECT = 0xFFFF; ///< An invalid object +static const ObjectID INVALID_OBJECT = 0xFFFFFFFF; ///< An invalid object #endif /* OBJECT_TYPE_H */ -- cgit v1.2.3-70-g09d2