소스 검색

Merge pull request #181 from Lemongrass3110/master

Removed a redundant call to clif_party_info on party loading.
Thx Lemon =) look perfect.
lighta 10 년 전
부모
커밋
f8189c8d7d
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  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 )