diff options
author | KirieZ <guilherme.menaldo@outlook.com> | 2016-12-23 10:31:27 -0200 |
---|---|---|
committer | KirieZ <guilherme.menaldo@outlook.com> | 2016-12-23 10:33:39 -0200 |
commit | 946b7f8490e952fbd90c6760f256ddfdd1e98137 (patch) | |
tree | 56003c94632198237367d1ba452a7d9f238b891f /src/map/party.c | |
parent | 19c07f43a7d58462a6437ab92d5690302304c592 (diff) | |
download | hercules-946b7f8490e952fbd90c6760f256ddfdd1e98137.tar.gz hercules-946b7f8490e952fbd90c6760f256ddfdd1e98137.tar.bz2 hercules-946b7f8490e952fbd90c6760f256ddfdd1e98137.tar.xz hercules-946b7f8490e952fbd90c6760f256ddfdd1e98137.zip |
Follow-up 19c07f4
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/party.c b/src/map/party.c index aad38efa5..0a5b791fe 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -306,7 +306,7 @@ int party_recv_info(const struct party *sp, int char_id) // Leader has changed int k; ARR_FIND(0, MAX_PARTY, k, sp->member[k].leader == 1); - if (i < MAX_PARTY) { + if (k < MAX_PARTY) { clif->PartyLeaderChanged(map->id2sd(sp->member[k].account_id), 0, sp->member[k].account_id); } else { party->broken(p->party.party_id); // Should not happen, Party is leaderless, disband |