diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-17 00:06:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-25 14:49:04 +0300 |
commit | 79ab58428bfde461fb4fa92418624982f181d036 (patch) | |
tree | eb7f99c839dd74b9769bc47ef9759b8665f81853 /src/map/elemental.c | |
parent | a929202e304d2cd3d5873272ea5ecb6a0371e314 (diff) | |
download | hercules-79ab58428bfde461fb4fa92418624982f181d036.tar.gz hercules-79ab58428bfde461fb4fa92418624982f181d036.tar.bz2 hercules-79ab58428bfde461fb4fa92418624982f181d036.tar.xz hercules-79ab58428bfde461fb4fa92418624982f181d036.zip |
Reduce memory usage in HPM in skill.c
Diffstat (limited to 'src/map/elemental.c')
-rw-r--r-- | src/map/elemental.c | 4 |
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; } |