diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-10-28 19:20:50 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-10-28 19:20:50 -0300 |
commit | 1fcd85d491c9c98052c2e8692d0e2c6ed1b82939 (patch) | |
tree | 245701b283f067d0589b9d748453957da5782bd9 | |
parent | 3f0364f9cb51cb864e55afa610c0c3eb072c531d (diff) | |
download | evol-hercules-1fcd85d491c9c98052c2e8692d0e2c6ed1b82939.tar.gz evol-hercules-1fcd85d491c9c98052c2e8692d0e2c6ed1b82939.tar.bz2 evol-hercules-1fcd85d491c9c98052c2e8692d0e2c6ed1b82939.tar.xz evol-hercules-1fcd85d491c9c98052c2e8692d0e2c6ed1b82939.zip |
Expand max Inventory size to 115
Items added after the 100 won't be displayed (even if you free inv. space)
This is merely to secure that Rebirth is working - NOT to be used on live.
-rw-r--r-- | src/ecommon/init.c | 1 | ||||
-rwxr-xr-x | tools/vars.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ecommon/init.c b/src/ecommon/init.c index fe74649..69d4f4f 100644 --- a/src/ecommon/init.c +++ b/src/ecommon/init.c @@ -45,6 +45,7 @@ void commonClean(void) void common_online(void) { checkVar(MAX_STORAGE, 500); + checkVar(MAX_INVENTORY, 120); checkVar(MAX_SKILL_DB, 1572); checkVar(MAX_SKILL_ID, 20062); checkVar(SC_MAX, 658); diff --git a/tools/vars.sh b/tools/vars.sh index 97f3225..76be2f7 100755 --- a/tools/vars.sh +++ b/tools/vars.sh @@ -11,5 +11,5 @@ # can be used for custom skill id: 10016 - 10036+20 -export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_STORAGE=500 -DMAX_SKILL_DB=1572 -DMAX_SKILL_ID=20062 -DMAX_EVOL_SKILLS=62 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=110 -DSC_MAX=658 -DSI_MAX=991 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531" +export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_STORAGE=500 -DMAX_INVENTORY=120 -DMAX_SKILL_DB=1572 -DMAX_SKILL_ID=20062 -DMAX_EVOL_SKILLS=62 -DEVOL_FIRST_SKILL=20000 -DMAX_SKILL_TREE=110 -DSC_MAX=658 -DSI_MAX=991 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531" export CPPFLAGS="${VARS}" |