summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-10 21:37:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-10 21:37:14 +0300
commite971e0d8dcb25864a9affb4775bce8b8033d869a (patch)
tree5f4ecf9f1fc13030c521cfa5ba73f4359ddfd8be /src/map/skill.c
parentff145549f389e63be01234ddf778905700883d20 (diff)
downloadhercules-e971e0d8dcb25864a9affb4775bce8b8033d869a.tar.gz
hercules-e971e0d8dcb25864a9affb4775bce8b8033d869a.tar.bz2
hercules-e971e0d8dcb25864a9affb4775bce8b8033d869a.tar.xz
hercules-e971e0d8dcb25864a9affb4775bce8b8033d869a.zip
Add missing interface usage.
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index eb7394b9e..763af64b7 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3875,7 +3875,7 @@ int skill_castend_damage_id(struct block_list* src, struct block_list *bl, uint1
case MS_MAGNUM:
if( flag&1 ) {
//Damage depends on distance, so add it to flag if it is > 1
- skill_attack(skill_get_type(skill_id), src, src, bl, skill_id, skill_lv, tick, flag|distance_bl(src, bl));
+ skill->attack(skill->get_type(skill_id), src, src, bl, skill_id, skill_lv, tick, flag|distance_bl(src, bl));
}
break;