summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-29 22:51:31 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-29 22:51:31 +0000
commita75f13f9a36ad91cf2fd07257beccbf5bd189c75 (patch)
treec52640d4dff0c8c127bc907fffeadace27882bc6 /src/map/skill.c
parent863e194ec315b6b45dd0862654359a8f6283f699 (diff)
downloadhercules-a75f13f9a36ad91cf2fd07257beccbf5bd189c75.tar.gz
hercules-a75f13f9a36ad91cf2fd07257beccbf5bd189c75.tar.bz2
hercules-a75f13f9a36ad91cf2fd07257beccbf5bd189c75.tar.xz
hercules-a75f13f9a36ad91cf2fd07257beccbf5bd189c75.zip
Fixed SC_BURNING icon not going off after it was over;
Fixed SC_BURNING from making character unable to move/cast skills/use items/etc, bugreport:5174 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15328 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 869eb6599..5ce391755 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8249,7 +8249,7 @@ int skill_castend_map (struct map_session_data *sd, short skill_num, const char
return 0;
}
- if(sd->sc.opt1 || sd->sc.option&OPTION_HIDE ) {
+ if( ( sd->sc.opt1 && sd->sc.opt1 != OPT1_BURNING ) || sd->sc.option&OPTION_HIDE ) {
skill_failed(sd);
return 0;
}
@@ -9809,7 +9809,7 @@ static int skill_check_condition_char_sub (struct block_list *bl, va_list ap)
if(pc_isdead(tsd))
return 0;
- if (tsd->sc.data[SC_SILENCE] || tsd->sc.opt1)
+ if (tsd->sc.data[SC_SILENCE] || ( tsd->sc.opt1 && tsd->sc.opt1 != OPT1_BURNING ))
return 0;
switch(skillid)