summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-25 22:50:31 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-25 22:50:31 -0200
commitab8f82323176d19d2ace5feb1aabca315f6860b1 (patch)
tree9d573e07f76a3b2e0b6b3e51f14b11c16110202d
parentbdfb727ec6f4ea4708b4bcc6cb2aad7d27bdae71 (diff)
downloadevol-hercules-ab8f82323176d19d2ace5feb1aabca315f6860b1.tar.gz
evol-hercules-ab8f82323176d19d2ace5feb1aabca315f6860b1.tar.bz2
evol-hercules-ab8f82323176d19d2ace5feb1aabca315f6860b1.tar.xz
evol-hercules-ab8f82323176d19d2ace5feb1aabca315f6860b1.zip
Change cart size from 100 to 50 before it is too late :sweat_smile:
Remember you can access the cart anywhere, too :3 If needed, later, in future, we increase this again, but it is not possible to make size smaller once cart feature gets in! %%e
-rw-r--r--src/ecommon/init.c1
-rwxr-xr-xtools/vars.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ecommon/init.c b/src/ecommon/init.c
index 26887d3..c625dfa 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_CART, 50);
checkVar(MAX_SKILL_DB, 1552);
checkVar(MAX_SKILL_ID, 20042);
checkVar(SC_MAX, 658);
diff --git a/tools/vars.sh b/tools/vars.sh
index 02ccdb4..e1b8e67 100755
--- a/tools/vars.sh
+++ b/tools/vars.sh
@@ -10,5 +10,5 @@
# can be used for custom skill id: 10016 - 10036+20
-export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_STORAGE=500 -DMAX_SKILL_DB=1552 -DMAX_SKILL_ID=20042 -DMAX_EVOL_SKILLS=42 -DEVOL_FIRST_SKILL=20000 -DSC_MAX=658 -DSI_MAX=971 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531"
+export VARS=" -DOLD_MAX_SKILL_DB=1510 -DMAX_STORAGE=500 -DMAX_CART=50 -DMAX_SKILL_DB=1552 -DMAX_SKILL_ID=20042 -DMAX_EVOL_SKILLS=42 -DEVOL_FIRST_SKILL=20000 -DSC_MAX=658 -DSI_MAX=971 -DMIN_PACKET_DB=0x63 -DMAX_PACKET_DB=0x7531"
export CPPFLAGS="${VARS}"