From f56fd4555e5ec1e7489f78375ac5f88d5cb34785 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Mar 2020 05:48:29 +0300 Subject: Fix typo in packet PACKET_ZC_SE_CASHSHOP_OPEN (Fixes #2669) --- src/map/clif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index c9e018f73..449ea602b 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -20091,7 +20091,7 @@ static void clif_parse_cashShopOpen2(int fd, struct map_session_data *sd) static void clif_cashShopOpen(int fd, struct map_session_data *sd, int tab) { -#if PACKETVER_MAIN_NUM >= 20101123 || PACKETVER_RE_NUM >= 20120328 || PACKETVER_ZERO_NUM >= defined(PACKETVER_ZERO) +#if PACKETVER_MAIN_NUM >= 20101123 || PACKETVER_RE_NUM >= 20120328 || defined(PACKETVER_ZERO) WFIFOHEAD(fd, sizeof(struct PACKET_ZC_SE_CASHSHOP_OPEN)); struct PACKET_ZC_SE_CASHSHOP_OPEN *p = WFIFOP(fd, 0); p->packetType = HEADER_ZC_SE_CASHSHOP_OPEN; -- cgit v1.2.3-70-g09d2 From 444c15ba94265908c7f32bf91727952389275511 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Apr 2020 01:23:02 +0300 Subject: Add always triggered assert in clif_unknownname_ack --- src/map/clif.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index 449ea602b..a7d9c71e5 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -9710,6 +9710,7 @@ static void clif_unknownname_ack(int fd, struct block_list *bl) { nullpo_retv(bl); ShowError("clif_blname_ack: bad type %u(%d)\n", bl->type, bl->id); + Assert_retv(0); } static void clif_blname_ack(int fd, struct block_list *bl) -- cgit v1.2.3-70-g09d2