summaryrefslogtreecommitdiff
path: root/src/map/elemental.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-27 12:58:41 -0300
committershennetsind <ind@henn.et>2013-09-27 12:58:41 -0300
commit4a6a25f6675bd11666b235b97d59f5035a249295 (patch)
tree9e2ae3c4492aec5d8204a4c32b7054225f347bc6 /src/map/elemental.c
parent605fe9775beff1fb0e3df68b2df886d4e5b54a2d (diff)
downloadhercules-4a6a25f6675bd11666b235b97d59f5035a249295.tar.gz
hercules-4a6a25f6675bd11666b235b97d59f5035a249295.tar.bz2
hercules-4a6a25f6675bd11666b235b97d59f5035a249295.tar.xz
hercules-4a6a25f6675bd11666b235b97d59f5035a249295.zip
HPM: Skill.c Completed
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/elemental.c')
-rw-r--r--src/map/elemental.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/elemental.c b/src/map/elemental.c
index 09fc6c379..12e8f4c4e 100644
--- a/src/map/elemental.c
+++ b/src/map/elemental.c
@@ -574,8 +574,8 @@ struct skill_condition elemental_skill_get_requirements(uint16 skill_id, uint16
if( skill_lv < 1 || skill_lv > MAX_SKILL_LEVEL )
return req;
- req.hp = skill_db[idx].hp[skill_lv-1];
- req.sp = skill_db[idx].sp[skill_lv-1];
+ req.hp = skill->db[idx].hp[skill_lv-1];
+ req.sp = skill->db[idx].sp[skill_lv-1];
return req;
}