diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-11-02 04:46:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-11-03 17:12:49 +0300 |
commit | 5014f675f4d49ea4ddcb388c79f8e32c9e291988 (patch) | |
tree | 71b746c92be99773dfe468fcc4b8531178bf6974 /src/map/clif.c | |
parent | 84675f75d60f807ebbe932d7c591c8b1d59cfaf1 (diff) | |
download | hercules-5014f675f4d49ea4ddcb388c79f8e32c9e291988.tar.gz hercules-5014f675f4d49ea4ddcb388c79f8e32c9e291988.tar.bz2 hercules-5014f675f4d49ea4ddcb388c79f8e32c9e291988.tar.xz hercules-5014f675f4d49ea4ddcb388c79f8e32c9e291988.zip |
Add packet size 0x097d ZC_ACK_RANKING into packets.h
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index beec3c008..1c0e7ea37 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -14222,11 +14222,12 @@ void clif_ranklist(struct map_session_data *sd, enum fame_list_type type) int fd; int mypoint = 0; int upperMask; + int len = packet_len(0x97d); nullpo_retv(sd); fd = sd->fd; upperMask = sd->class_&MAPID_UPPERMASK; - WFIFOHEAD(fd, 288); + WFIFOHEAD(fd, len); WFIFOW(fd, 0) = 0x97d; WFIFOW(fd, 2) = type; clif_ranklist_sub(WFIFOP(fd,4), type); @@ -14241,7 +14242,7 @@ void clif_ranklist(struct map_session_data *sd, enum fame_list_type type) } WFIFOL(fd, 284) = mypoint; //mypoint - WFIFOSET(fd, 288); + WFIFOSET(fd, len); #endif } |