summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-01-28 01:27:59 +0100
committerHaru <haru@dotalux.com>2015-01-28 01:27:59 +0100
commit3a5b0c03e46158e1edd6ec88dfcace45e22c7a91 (patch)
tree70a9a6131588735298c776191b271d23f2bc9869 /src/map/skill.c
parent16157a6173bf116026d6d3be11c7f9e1a35e8b9a (diff)
downloadhercules-3a5b0c03e46158e1edd6ec88dfcace45e22c7a91.tar.gz
hercules-3a5b0c03e46158e1edd6ec88dfcace45e22c7a91.tar.bz2
hercules-3a5b0c03e46158e1edd6ec88dfcace45e22c7a91.tar.xz
hercules-3a5b0c03e46158e1edd6ec88dfcace45e22c7a91.zip
Follow-up to e778f4f5f1b6a08adee5e7e908a44c38cd29bd12
- Fixed some issues that prevented spirit charms from showing up - Special thanks to Michieru Signed-off-by: Haru <haru@dotalux.com>
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 55b86310e..c6ddd883d 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -13730,7 +13730,7 @@ int skill_check_condition_castbegin(struct map_session_data* sd, uint16 skill_id
break;
case KO_KAIHOU:
case KO_ZENKAI:
- if (sd->charm_type != CHARM_TYPE_NONE && sd->charm_count > 0) {
+ if (sd->charm_type == CHARM_TYPE_NONE || sd->charm_count <= 0) {
clif->skill_fail(sd,skill_id,USESKILL_FAIL_SUMMON,0);
return 0;
}