Skip to content

Commit dcd7597

Browse files
committed
Fix version check for packet ZC_PING
1 parent ca7df73 commit dcd7597

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/map/clif.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22536,7 +22536,7 @@ static void clif_parse_ping(int fd, struct map_session_data *sd)
2253622536

2253722537
static void clif_ping(struct map_session_data *sd)
2253822538
{
22539-
#if PACKETVER_MAIN_NUM >= 20190213 || PACKETVER_RE_NUM >= 20190213 || PACKETVER_ZERO_NUM >= 20190130
22539+
#if PACKETVER_MAIN_NUM >= 20190227 || PACKETVER_RE_NUM >= 20190220 || PACKETVER_ZERO_NUM >= 20190220
2254022540
nullpo_retv(sd);
2254122541
struct PACKET_ZC_PING p;
2254222542
p.packetType = HEADER_ZC_PING;

src/map/packets_struct.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3253,7 +3253,7 @@ struct PACKET_CZ_PING {
32533253
DEFINE_PACKET_HEADER(CZ_PING, 0x0b1c);
32543254
#endif
32553255

3256-
#if PACKETVER_MAIN_NUM >= 20190213 || PACKETVER_RE_NUM >= 20190213 || PACKETVER_ZERO_NUM >= 20190130
3256+
#if PACKETVER_MAIN_NUM >= 20190227 || PACKETVER_RE_NUM >= 20190220 || PACKETVER_ZERO_NUM >= 20190220
32573257
struct PACKET_ZC_PING {
32583258
int16 packetType;
32593259
} __attribute__((packed));

0 commit comments

Comments
 (0)