Browse Source

* 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
flaviojs2005 13 years ago
parent
commit
761b02ed7d
2 changed files with 2 additions and 8 deletions
  1. 2 0
      Changelog-Trunk.txt
  2. 0 8
      src/map/party.c

+ 2 - 0
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]

+ 0 - 8
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);