diff options
author | Matias <matiassw@gmail.com> | 2013-06-25 02:46:11 -0400 |
---|---|---|
committer | Matias <matiassw@gmail.com> | 2013-06-25 02:46:11 -0400 |
commit | 7c81bc0fb6817748ea38cd1bbd440a1c46811131 (patch) | |
tree | 9f8b99ba62a01b0822ae0a8b5f58981b36eb524e /src/map/party.c | |
parent | dc5c72590f286125f1f1aad8321a80127b0ed9d8 (diff) | |
download | hercules-7c81bc0fb6817748ea38cd1bbd440a1c46811131.tar.gz hercules-7c81bc0fb6817748ea38cd1bbd440a1c46811131.tar.bz2 hercules-7c81bc0fb6817748ea38cd1bbd440a1c46811131.tar.xz hercules-7c81bc0fb6817748ea38cd1bbd440a1c46811131.zip |
- Fixing an issue with Ensemble Songs buffing non-party members and not clearing once leaving party. (Allowing you to walk off the AoE and keep the buff)
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/party.c b/src/map/party.c index 8a632a8ef..18a426364 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -573,7 +573,12 @@ int party_member_withdraw(int party_id, int account_id, int char_id) if( p->instance_id ) instance_check_kick(sd); } - + if (sd && sd->sc.data[SC_DANCING]) { + status_change_end(&sd->bl, SC_DANCING, INVALID_TIMER); + status_change_end(&sd->bl, SC_DRUMBATTLE, INVALID_TIMER); + status_change_end(&sd->bl, SC_NIBELUNGEN, INVALID_TIMER); + status_change_end(&sd->bl, SC_SIEGFRIED, INVALID_TIMER); + } return 0; } |