summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorsmokexyz <sagunkho@hotmail.com>2017-03-23 02:11:35 +0530
committerGitHub <noreply@github.com>2017-03-23 02:11:35 +0530
commitc07dcc80c3d5a6375c3f78eaa517e3df3020d69a (patch)
tree4abc39d7ffb378f586dcdb65a59517cbaa09dcf4 /src/map/clif.c
parent2e601e6b95e202a37f07510783f462ddfa331b2f (diff)
parent964268da6cbf76dc9f2fb53d874061b5634f3759 (diff)
downloadhercules-c07dcc80c3d5a6375c3f78eaa517e3df3020d69a.tar.gz
hercules-c07dcc80c3d5a6375c3f78eaa517e3df3020d69a.tar.bz2
hercules-c07dcc80c3d5a6375c3f78eaa517e3df3020d69a.tar.xz
hercules-c07dcc80c3d5a6375c3f78eaa517e3df3020d69a.zip
Merge pull request #1643 from 4144/authfix
Fix map server auth packet for clients >= 20160330.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 8fae28e74..9e20510ad 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -677,7 +677,8 @@ void clif_authok(struct map_session_data *sd)
#if PACKETVER >= 20080102
p.font = sd->status.font;
#endif
-#if PACKETVER >= 20141016
+// Some clients smaller than 20160330 cant be tested [4144]
+#if PACKETVER >= 20141016 && PACKETVER < 20160330
p.sex = sd->status.sex;
#endif
clif->send(&p,sizeof(p),&sd->bl,SELF);