diff options
author | KirieZ <guilherme.menaldo@outlook.com> | 2016-12-20 19:22:18 -0200 |
---|---|---|
committer | KirieZ <guilherme.menaldo@outlook.com> | 2016-12-20 19:22:18 -0200 |
commit | 19c07f43a7d58462a6437ab92d5690302304c592 (patch) | |
tree | 51f919b80822f4a981571661a54dca0b22f6494a /src/map/party.c | |
parent | ea449a7a5720335ff1b19ef0f3b97361c606355e (diff) | |
download | hercules-19c07f43a7d58462a6437ab92d5690302304c592.tar.gz hercules-19c07f43a7d58462a6437ab92d5690302304c592.tar.bz2 hercules-19c07f43a7d58462a6437ab92d5690302304c592.tar.xz hercules-19c07f43a7d58462a6437ab92d5690302304c592.zip |
Follow-up ea449a7, fixed coding-style
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/party.c b/src/map/party.c index 1a9ac1cbe..aad38efa5 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -302,12 +302,12 @@ int party_recv_info(const struct party *sp, int char_id) } ARR_FIND(0, MAX_PARTY, j, p->party.member[j].leader == 1); - if( j == MAX_PARTY ) { + if (j == MAX_PARTY) { // Leader has changed - int i; - ARR_FIND(0, MAX_PARTY, i, sp->member[i].leader == 1); - if( i < MAX_PARTY ) { - clif->PartyLeaderChanged(map->id2sd(sp->member[i].account_id), 0, sp->member[i].account_id); + int k; + ARR_FIND(0, MAX_PARTY, k, sp->member[k].leader == 1); + if (i < 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 } |