Browse Source

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.
hazimjauhari90 8 years ago
parent
commit
39dbb9abd3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/map/clif.c

+ 2 - 2
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));