diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-10-06 08:03:37 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-10-06 08:03:37 +0000 |
commit | 5f9d736e2bce10e9b96c0bf3218392f3a1c82ea4 (patch) | |
tree | e18f3268a1cc07d9b5611a598cd80c3c778d3613 /src | |
parent | fa3b6bdf1d16f43072cbcf14e6490be64e8b0f50 (diff) | |
download | hercules-5f9d736e2bce10e9b96c0bf3218392f3a1c82ea4.tar.gz hercules-5f9d736e2bce10e9b96c0bf3218392f3a1c82ea4.tar.bz2 hercules-5f9d736e2bce10e9b96c0bf3218392f3a1c82ea4.tar.xz hercules-5f9d736e2bce10e9b96c0bf3218392f3a1c82ea4.zip |
Fixed friends list ack packet using truncated values (bugreport:2310).
Blame goes to r2574.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13260 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 140c8b158..35c9afc8c 100644 --- a/src/map/clif.c +++ b/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)); |