diff options
author | xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-22 13:49:09 +0000 |
---|---|---|
committer | xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-22 13:49:09 +0000 |
commit | 14c53cd601a6aba5811909ded3dae4992d707271 (patch) | |
tree | 63ed44e4ba7eab76e6fefb3a6b99b0812310361e /src/map/party.c | |
parent | 44d7606656a650dc43018b5c63bb56ad1f70e77c (diff) | |
download | hercules-14c53cd601a6aba5811909ded3dae4992d707271.tar.gz hercules-14c53cd601a6aba5811909ded3dae4992d707271.tar.bz2 hercules-14c53cd601a6aba5811909ded3dae4992d707271.tar.xz hercules-14c53cd601a6aba5811909ded3dae4992d707271.zip |
Minor cleanups, mostly reducing scopes.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15504 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 f850efb7c..15ada66fd 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -560,10 +560,10 @@ int party_member_withdraw(int party_id, int account_id, int char_id) { struct map_session_data* sd = map_id2sd(account_id); struct party_data* p = party_search(party_id); - int i; if( p ) { + int i; ARR_FIND( 0, MAX_PARTY, i, p->party.member[i].account_id == account_id && p->party.member[i].char_id == char_id ); if( i < MAX_PARTY ) { |