From 6ff5131f352d3f54848603e13dcd30ac22d83610 Mon Sep 17 00:00:00 2001 From: Asheraf Date: Sat, 24 Aug 2019 20:22:29 +0100 Subject: Increase default max allowed item id to int32 max --- src/map/itemdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/itemdb.h b/src/map/itemdb.h index 16a348797..17fff2cf5 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -39,7 +39,7 @@ struct hplugin_data_store; #ifndef MAX_ITEM_ID #if PACKETVER_MAIN_NUM >= 20181121 || PACKETVER_RE_NUM >= 20180704 || PACKETVER_ZERO_NUM >= 20181114 -#define MAX_ITEM_ID 0x20000 +#define MAX_ITEM_ID INT32_MAX #else #define MAX_ITEM_ID 0xFFFF #endif -- cgit v1.2.3-70-g09d2