From 39dbb9abd309eca84fda6914881680f4e835e3c4 Mon Sep 17 00:00:00 2001 From: hazimjauhari90 Date: Mon, 22 May 2017 06:50:11 +0800 Subject: [PATCH] follow up to 9716233 (#2130) ZC_ACCEPT_ENTER2 will be used for client authentication again. Used 2016-03-30 for now until the exact date is confirmed. Credits to @4144 HerculesWS/Hercules@964268d Thanks to @hazimjauhari90 for his pull request. --- src/map/clif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/clif.c b/src/map/clif.c index e724879c7a..4d05c961f6 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -681,7 +681,7 @@ void clif_authok(struct map_session_data *sd) { #if PACKETVER < 20080102 const int cmd = 0x73; -#elif PACKETVER < 20141022 +#elif PACKETVER < 20141022 || PACKETVER >= 20160330 const int cmd = 0x2eb; #else const int cmd = 0xa18; @@ -697,7 +697,7 @@ void clif_authok(struct map_session_data *sd) #if PACKETVER >= 20080102 WFIFOW(fd,11) = sd->status.font; #endif -#if PACKETVER >= 20141016 +#if PACKETVER >= 20141016 && PACKETVER < 20160330 WFIFOB(fd,13) = sd->status.sex; #endif WFIFOSET(fd,packet_len(cmd));