summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/pc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 929b57f..fd03d01 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -209,13 +209,13 @@ int epc_isuseequip_post(int retVal, struct map_session_data *sd, int *nPtr)
sd->battle_status.int_ < data->requiredInt ||
sd->battle_status.dex < data->requiredDex ||
sd->battle_status.luk < data->requiredLuk ||
- sd->battle_status.maHp < data->requiredMaxHp ||
- sd->battle_status.maSp < data->requiredMaxSp ||
+ sd->battle_status.max_hp < data->requiredMaxHp ||
+ sd->battle_status.max_sp < data->requiredMaxSp ||
sd->battle_status.batk < data->requiredAtk ||
sd->battle_status.matk_min < data->requiredMAtkMin ||
sd->battle_status.matk_max < data->requiredMAtkMax ||
sd->battle_status.def < data->requiredDef ||
- sd->battle_status.mdef < data->requiredMDef ||
+ sd->battle_status.mdef < data->requiredMDef
)
{
return 0;