summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorMatias <matiassw@gmail.com>2013-06-25 17:54:46 -0400
committerMatias <matiassw@gmail.com>2013-06-25 17:54:46 -0400
commit0d2cb05e7ded96c694bfe768c3c97e3c5b3615ec (patch)
treebae522fda7342acf8c6d40ded452f7b501a2d0ef /src/map/party.c
parentb40371d3a0772031d12f2782c10976413c6f34b9 (diff)
downloadhercules-0d2cb05e7ded96c694bfe768c3c97e3c5b3615ec.tar.gz
hercules-0d2cb05e7ded96c694bfe768c3c97e3c5b3615ec.tar.bz2
hercules-0d2cb05e7ded96c694bfe768c3c97e3c5b3615ec.tar.xz
hercules-0d2cb05e7ded96c694bfe768c3c97e3c5b3615ec.zip
- Fixed a bug with Ensemble songs allowing the Buffed target to leave party and keep the buff. Also fixed a strange issue that'd allow non-party members to receive the buff under specific case
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 306c68e3e..154f84207 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -585,7 +585,12 @@ int party_member_withdraw(int party_id, int account_id, int char_id)
if( p->instances )
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;
}