summaryrefslogtreecommitdiff
path: root/src/map/status.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/status.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/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index ebdbd9370..a9fd25869 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1328,7 +1328,7 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int
if(sc && sc->count)
{
- if(sc->opt1 >0)
+ if(sc->opt1 >0 && sc->opt1 != OPT1_BURNING)
{ //Stuned/Frozen/etc
if (flag != 1) //Can't cast, casted stuff can't damage.
return 0;
@@ -7645,6 +7645,7 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
case SC_FREEZE:
case SC_STUN:
case SC_SLEEP:
+ case SC_BURNING:
if (sce->val1) {
//Removing the 'level' shouldn't affect anything in the code
//since these SC are not affected by it, and it lets us know
@@ -8051,6 +8052,7 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
case SC_FREEZE:
case SC_STUN:
case SC_SLEEP:
+ case SC_BURNING:
sc->opt1 = 0;
break;