diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-09-03 22:19:56 +0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-04 01:07:27 -0300 |
commit | 814ee0a60503d3d22bd83c291eb7b9a0a67ac9d4 (patch) | |
tree | 268cb92387c4f278390a19dc5b6621734c9faadb | |
parent | 67da60223982489d48feee78c85c52c620d0c5d8 (diff) | |
download | evol-hercules-814ee0a60503d3d22bd83c291eb7b9a0a67ac9d4.tar.gz evol-hercules-814ee0a60503d3d22bd83c291eb7b9a0a67ac9d4.tar.bz2 evol-hercules-814ee0a60503d3d22bd83c291eb7b9a0a67ac9d4.tar.xz evol-hercules-814ee0a60503d3d22bd83c291eb7b9a0a67ac9d4.zip |
Disable req attributes checks in items on connect.
-rw-r--r-- | src/emap/pc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emap/pc.c b/src/emap/pc.c index ec45cdc..011743e 100644 --- a/src/emap/pc.c +++ b/src/emap/pc.c @@ -293,6 +293,11 @@ int epc_isequip_post(int retVal, if (!data) return retVal; + // test for missing basic stats calculation + if (sd->regen.sregen == NULL) + { + return retVal; + } if (sd->battle_status.str < data->requiredStr || sd->battle_status.agi < data->requiredAgi || sd->battle_status.vit < data->requiredVit || |