diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-02-14 15:42:41 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-02-14 15:42:41 -0300 |
commit | 0d0922ad75e968c4e7bd38e6bb2a36a776427cc7 (patch) | |
tree | 794dca264c84e793ef9ea141b151f92b77800ce6 | |
parent | 46e3a24ef647e5be1e10ae448d6572c93fa6ddf8 (diff) | |
download | hercules-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
-rw-r--r-- | src/common/mmo.h | 4 |
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 ) |