summaryrefslogtreecommitdiff
path: root/src/map/elemental.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2015-08-02 04:54:11 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2015-08-02 04:54:11 +0800
commite900608cc45f33399b12f109548da515df82e723 (patch)
tree3669888c564fe0527650cccd92af744058290b4a /src/map/elemental.c
parentcca4271c9350203bffa2feeb753708f434b71d41 (diff)
parentf780bc47486289acd70fee5dc4f34efca1440eaa (diff)
downloadhercules-e900608cc45f33399b12f109548da515df82e723.tar.gz
hercules-e900608cc45f33399b12f109548da515df82e723.tar.bz2
hercules-e900608cc45f33399b12f109548da515df82e723.tar.xz
hercules-e900608cc45f33399b12f109548da515df82e723.zip
Merge pull request #601 from 4144/hpmreduce
Reduce map server memory usage for 3 MB with loaded HPM
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 bf0d42ce9..459ce2a39 100644
--- a/src/map/elemental.c
+++ b/src/map/elemental.c
@@ -586,8 +586,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->dbs->db[idx].hp[skill_lv-1];
+ req.sp = skill->dbs->db[idx].sp[skill_lv-1];
return req;
}