From 6c071f5de0d10ff4700a74e82169a7e2b33842a7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Feb 2019 04:57:08 +0300 Subject: Fix reserved buffer for packet PACKET_ZC_WARPLIST --- src/map/clif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/clif.c b/src/map/clif.c index ae92e7b2c..024adffc5 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -5782,7 +5782,7 @@ static void clif_skill_warppoint(struct map_session_data *sd, uint16 skill_id, u nullpo_retv(sd); fd = sd->fd; #if PACKETVER_MAIN_NUM >= 20170502 || PACKETVER_RE_NUM >= 20170419 || defined(PACKETVER_ZERO) - len = sizeof(struct PACKET_ZC_WARPLIST) + sizeof(struct PACKET_ZC_WARPLIST_sub) * mapsCount; + len = sizeof(struct PACKET_ZC_WARPLIST) + sizeof(struct PACKET_ZC_WARPLIST_sub) * 6; #else len = sizeof(struct PACKET_ZC_WARPLIST); #endif -- cgit v1.2.3-60-g2f50