diff options
Diffstat (limited to 'src/emap/pc.c')
-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 || |