From e587817fecb3f48825ab6c34e3530fdbecb1f5bc Mon Sep 17 00:00:00 2001 From: flaviojs2005 Date: Mon, 17 Oct 2011 19:11:10 +0000 Subject: * Remove 'hack code' in party_member_added causing crashes since r14968. (bugreport:5069) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14980 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/party.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') diff --git a/src/map/party.c b/src/map/party.c index 0ef07864d..9649505b4 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -488,14 +488,6 @@ int party_member_added(int party_id,int account_id,int char_id, int flag) sd->status.party_id = party_id; - ARR_FIND( 0, MAX_PARTY, i, p->party.member[i].account_id == 0 ); - if (i < MAX_PARTY) { - //TODO: This is a hack to allow the following clif calls to send the data to the new player. - //The correct player data is set when party_recv_info arrives soon afterwards. - party_fill_member(&p->party.member[i], sd, 0); - p->data[i].sd = sd; - } - clif_party_member_info(p,sd); clif_party_option(p,sd,0x100); clif_party_info(p,sd); -- cgit v1.2.3-60-g2f50