diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-09 20:04:44 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-09 20:04:44 +0000 |
commit | d8943a847d245d984de1bc580cb559339564e102 (patch) | |
tree | 6b7755a55767fb466ac7e2518df18ad75fed0946 | |
parent | 0f1315e03a62353f223386ffc0653453bdfcc355 (diff) | |
download | hercules-d8943a847d245d984de1bc580cb559339564e102.tar.gz hercules-d8943a847d245d984de1bc580cb559339564e102.tar.bz2 hercules-d8943a847d245d984de1bc580cb559339564e102.tar.xz hercules-d8943a847d245d984de1bc580cb559339564e102.zip |
Fixed bug with Soul Linker's Swoo visual effect not going off after duration is gone, bugreport:681
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15561 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/map/status.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index d9a9f6070..5fe015450 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -8265,7 +8265,10 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const case SC_MAXOVERTHRUST: case SC_SWOO: sc->opt3 &= ~OPT3_OVERTHRUST; - opt_flag = 0; + if( type == SC_SWOO ) + opt_flag = 8; + else + opt_flag = 0; break; case SC_ENERGYCOAT: case SC_SKE: @@ -8358,7 +8361,9 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const else if (sd) 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); if (calc_flag) |