diff options
author | Asheraf <acheraf1998@gmail.com> | 2019-08-24 20:22:29 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2019-09-23 01:33:44 +0200 |
commit | 6ff5131f352d3f54848603e13dcd30ac22d83610 (patch) | |
tree | 591905e2dea63d65eeb0ee264de804fd76a18017 /src | |
parent | 7121899a562856863984ce90268e9af37769b346 (diff) | |
download | hercules-6ff5131f352d3f54848603e13dcd30ac22d83610.tar.gz hercules-6ff5131f352d3f54848603e13dcd30ac22d83610.tar.bz2 hercules-6ff5131f352d3f54848603e13dcd30ac22d83610.tar.xz hercules-6ff5131f352d3f54848603e13dcd30ac22d83610.zip |
Increase default max allowed item id to int32 max
Diffstat (limited to 'src')
-rw-r--r-- | src/map/itemdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |