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.
This commit is contained in:
hazimjauhari90 2017-05-22 06:50:11 +08:00 committed by Lemongrass3110
parent 6a75b17380
commit 39dbb9abd3

View File

@ -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));