From 14c53cd601a6aba5811909ded3dae4992d707271 Mon Sep 17 00:00:00 2001 From: xazax-hun Date: Sun, 22 Jan 2012 13:49:09 +0000 Subject: Minor cleanups, mostly reducing scopes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15504 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/party.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/party.c') 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 ) { -- cgit v1.2.3-60-g2f50