Преглед на файлове

Fixed party creation. Thanks @lighta

Lemongrass3110 преди 10 години
родител
ревизия
08941b2a80
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      src/map/party.c

+ 4 - 2
src/map/party.c

@@ -319,8 +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);
-		// Will be sent by party_send_movemap [Lemongrass]
-		//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 )