summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-14 15:42:41 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-14 15:42:41 -0300
commit0d0922ad75e968c4e7bd38e6bb2a36a776427cc7 (patch)
tree794dca264c84e793ef9ea141b151f92b77800ce6 /src/common/mmo.h
parent46e3a24ef647e5be1e10ae448d6572c93fa6ddf8 (diff)
downloadhercules-0d0922ad75e968c4e7bd38e6bb2a36a776427cc7.tar.gz
hercules-0d0922ad75e968c4e7bd38e6bb2a36a776427cc7.tar.bz2
hercules-0d0922ad75e968c4e7bd38e6bb2a36a776427cc7.tar.xz
hercules-0d0922ad75e968c4e7bd38e6bb2a36a776427cc7.zip
[TMW2 SELECTIVE CHERRYPICK] Force to allow the 30k item limit to be overriden.
This should be reverted once the mmo update commit gets officially merged
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index ed74f11df..a2e91626e 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -206,7 +206,9 @@
//Note: The client seems unable to receive data for more than 4 slots due to all related packets having a fixed size.
#define MAX_SLOTS 4
//Max amount of a single stacked item
-#define MAX_AMOUNT 30000
+#ifndef MAX_AMOUNT
+ #define MAX_AMOUNT 30000
+#endif
#define MAX_ZENY INT_MAX
//Official Limit: 2.1b ( the var that stores the money doesn't go much higher than this by default )