summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-04 00:25:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-04 00:25:47 +0300
commitfd83c8bda2a4508ddf734e00c57b5699d4ea9cb7 (patch)
tree8c7c8c903fc75eda963bf5d063ccb072c33e0191
parentea151b73fd14c5d9ced60979b91c7d13cf0c4422 (diff)
downloadevol-hercules-fd83c8bda2a4508ddf734e00c57b5699d4ea9cb7.tar.gz
evol-hercules-fd83c8bda2a4508ddf734e00c57b5699d4ea9cb7.tar.bz2
evol-hercules-fd83c8bda2a4508ddf734e00c57b5699d4ea9cb7.tar.xz
evol-hercules-fd83c8bda2a4508ddf734e00c57b5699d4ea9cb7.zip
map: fix compilation error.
-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;