Prechádzať zdrojové kódy

Merge pull request #181 from Lemongrass3110/master

Removed a redundant call to clif_party_info on party loading.
Thx Lemon =) look perfect.
lighta 10 rokov pred
rodič
commit
f8189c8d7d
1 zmenil súbory, kde vykonal 4 pridanie a 1 odobranie
  1. 4 1
      src/map/party.c

+ 4 - 1
src/map/party.c

@@ -319,7 +319,10 @@ int party_recv_info(struct party* sp, uint32 char_id)
 
 		clif_charnameupdate(sd); //Update other people's display. [Skotlex]
 		clif_party_member_info(p,sd);
-		clif_party_option(p,sd,0x100);
+		// Only send this on party creation, otherwise it will be sent by party_send_movemap [Lemongrass]
+		if( sd->party_creating ){
+			clif_party_option(p,sd,0x100);
+		}
 		clif_party_info(p,NULL);
 
 		if( p->instance_id != 0 )