From 761b02ed7dc2ab3594a6d84df25aeca178571016 Mon Sep 17 00:00:00 2001 From: flaviojs2005 Date: Mon, 17 Oct 2011 19:11:10 +0000 Subject: [PATCH] * Remove 'hack code' in party_member_added causing crashes since r14968. (bugreport:5069) git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14980 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/map/party.c | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 06f5fba3b4..399ec8634e 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -1,5 +1,7 @@ Date Added +2011/10/17 + * Remove 'hack code' in party_member_added causing crashes since r14968. (bugreport:5069) [FlavioJS] 2011/10/16 * Added support for new act/damage packet 0x2e1 (ZC_NOTIFY_ACT2) for clients 2007-11-13Sakexe and newer. [Ai4rei] * Added a message indicating how many concurrent connections the server was compiled to support. [Ai4rei] diff --git a/src/map/party.c b/src/map/party.c index 0ef07864df..9649505b40 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);