summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-04 16:02:47 -0300
committershennetsind <ind@henn.et>2013-07-04 16:02:47 -0300
commit6570776ff8b52b141b9f0b581d6fd6fa06117db5 (patch)
tree5c36da538be5d070252ec9f331b3d594eea2f4c0 /src/map/skill.c
parent65a6455c3106c294328648dd6bbc28a4a225f2ea (diff)
downloadhercules-6570776ff8b52b141b9f0b581d6fd6fa06117db5.tar.gz
hercules-6570776ff8b52b141b9f0b581d6fd6fa06117db5.tar.bz2
hercules-6570776ff8b52b141b9f0b581d6fd6fa06117db5.tar.xz
hercules-6570776ff8b52b141b9f0b581d6fd6fa06117db5.zip
Minor compiling warning fix
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 9823fec0a..474cbc5aa 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7971,11 +7971,12 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
i = skill_id == AB_CLEMENTIA ? pc->checkskill(sd,AL_BLESSING) : pc->checkskill(sd,AL_INCAGI);
if( sd == NULL || sd->status.party_id == 0 || flag&1 )
clif->skill_nodamage(bl, bl, skill_id, skill_lv, sc_start(bl, type, 100, i + (sd?(sd->status.job_level / 10):0), skill->get_time(skill_id,skill_lv)));
- else if( sd )
+ else if( sd ) {
if( !i )
clif->skill_fail(sd,skill_id,USESKILL_FAIL,0);
else
party_foreachsamemap(skill->area_sub, sd, skill->get_splash(skill_id, skill_lv), src, skill_id, skill_lv, tick, flag|BCT_PARTY|1, skill->castend_nodamage_id);
+ }
break;
case AB_PRAEFATIO: