summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-05-04 02:14:43 +0200
committerGitHub <noreply@github.com>2020-05-04 02:14:43 +0200
commitf79ab314afc099cfca094e1dc554a3ed317d30e1 (patch)
tree2a9eb9604dec9df134904d3c1f6bfa107b231bd1 /src/map/skill.c
parenta567830b477f8cbebbe64efde431a9f1bf870c86 (diff)
parentfa8ff3c40d6b476f41a288a579b6aaaeab8c872d (diff)
downloadhercules-f79ab314afc099cfca094e1dc554a3ed317d30e1.tar.gz
hercules-f79ab314afc099cfca094e1dc554a3ed317d30e1.tar.bz2
hercules-f79ab314afc099cfca094e1dc554a3ed317d30e1.tar.xz
hercules-f79ab314afc099cfca094e1dc554a3ed317d30e1.zip
Merge pull request #2695 from 4144/updatepackets
Update packets up to 2020-04-14
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 1222cf940..ca90a7672 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -10470,7 +10470,7 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list *
case KO_KAZEHU_SEIRAN:
case KO_DOHU_KOUKAI:
if(sd) {
- int ttype = skill->get_ele(skill_id, skill_lv);
+ enum spirit_charm_types ttype = skill->get_ele(skill_id, skill_lv);
clif->skill_nodamage(src, bl, skill_id, skill_lv, 1);
pc->add_charm(sd, skill->get_time(skill_id, skill_lv), MAX_SPIRITCHARM, ttype); // replace existing charms of other type
}