Fixed bug with Soul Linker's Swoo visual effect not going off after duration is gone, bugreport:681

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15561 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2012-02-09 20:04:44 +00:00
parent 18fc915f49
commit 143cedfc8d

View File

@ -8265,6 +8265,9 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
case SC_MAXOVERTHRUST: case SC_MAXOVERTHRUST:
case SC_SWOO: case SC_SWOO:
sc->opt3 &= ~OPT3_OVERTHRUST; sc->opt3 &= ~OPT3_OVERTHRUST;
if( type == SC_SWOO )
opt_flag = 8;
else
opt_flag = 0; opt_flag = 0;
break; break;
case SC_ENERGYCOAT: case SC_ENERGYCOAT:
@ -8358,7 +8361,9 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
else if (sd) else if (sd)
clif_status_load(bl,StatusIconChangeTable[type],0); clif_status_load(bl,StatusIconChangeTable[type],0);
if(opt_flag) if( opt_flag&8 ) //bugreport:681
clif_changeoption2(bl);
else if(opt_flag)
clif_changeoption(bl); clif_changeoption(bl);
if (calc_flag) if (calc_flag)