summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorflaviojs2005 <flaviojs2005@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-10-17 19:11:10 +0000
committerflaviojs2005 <flaviojs2005@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-10-17 19:11:10 +0000
commite587817fecb3f48825ab6c34e3530fdbecb1f5bc (patch)
tree2b04424b5f748c0d2685ae37e263563629f6dbaa /src
parenta98bb7596053a289eb2dedb273555b25e104eb6d (diff)
downloadhercules-e587817fecb3f48825ab6c34e3530fdbecb1f5bc.tar.gz
hercules-e587817fecb3f48825ab6c34e3530fdbecb1f5bc.tar.bz2
hercules-e587817fecb3f48825ab6c34e3530fdbecb1f5bc.tar.xz
hercules-e587817fecb3f48825ab6c34e3530fdbecb1f5bc.zip
* 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
Diffstat (limited to 'src')
-rw-r--r--src/map/party.c8
1 files changed, 0 insertions, 8 deletions
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);