summaryrefslogtreecommitdiff
path: root/src/map/itemdb.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2019-08-24 20:22:29 +0100
committerHaru <haru@dotalux.com>2019-09-23 01:33:44 +0200
commit6ff5131f352d3f54848603e13dcd30ac22d83610 (patch)
tree591905e2dea63d65eeb0ee264de804fd76a18017 /src/map/itemdb.h
parent7121899a562856863984ce90268e9af37769b346 (diff)
downloadhercules-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/map/itemdb.h')
-rw-r--r--src/map/itemdb.h2
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