From 0d0922ad75e968c4e7bd38e6bb2a36a776427cc7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 14 Feb 2021 15:42:41 -0300 Subject: [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 --- src/common/mmo.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ) -- cgit v1.2.3-60-g2f50