Ver código fonte

Fixed friends list ack packet using truncated values (bugreport:2310).
Blame goes to r2574.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13260 54d463be-8e91-2dee-dedb-b68131a5f0ec

ultramage 16 anos atrás
pai
commit
b9929bd369
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/map/clif.c

+ 2 - 2
src/map/clif.c

@@ -11027,8 +11027,8 @@ void clif_friendslist_reqack(struct map_session_data *sd, struct map_session_dat
 	WFIFOW(fd,2) = type;
 	if (f_sd)
 	{
-		WFIFOW(fd,4) = f_sd->status.account_id;
-		WFIFOW(fd,8) = f_sd->status.char_id;
+		WFIFOL(fd,4) = f_sd->status.account_id;
+		WFIFOL(fd,8) = f_sd->status.char_id;
 		memcpy(WFIFOP(fd, 12), f_sd->status.name,NAME_LENGTH);
 	}
 	WFIFOSET(fd, packet_len(0x209));