summaryrefslogtreecommitdiff
path: root/src/emap/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/pc.c')
-rw-r--r--src/emap/pc.c5
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 ||