summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-06 23:32:32 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-06 23:32:32 +0300
commit38e7aa7634b87bb3906200a92d09c117d7fd2877 (patch)
tree067be8d6c73e5aa9e3b7ac83c9e8eea849bf5dd7 /src/char
parentfd7123530c9f641a43f1c76345da24211e8f7bb7 (diff)
downloadhercules-38e7aa7634b87bb3906200a92d09c117d7fd2877.tar.gz
hercules-38e7aa7634b87bb3906200a92d09c117d7fd2877.tar.bz2
hercules-38e7aa7634b87bb3906200a92d09c117d7fd2877.tar.xz
hercules-38e7aa7634b87bb3906200a92d09c117d7fd2877.zip
Add support for packet 0xaf7 in zero clients.
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 93fb1be75..f1afb8aae 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -3328,7 +3328,7 @@ void char_char_name_ack(int fd, int char_id)
WFIFOHEAD(fd,30);
WFIFOW(fd,0) = 0x2b09;
WFIFOL(fd,2) = char_id;
-#if PACKETVER_MAIN_NUM >= 20180307 || PACKETVER_RE_NUM >= 20180221
+#if PACKETVER_MAIN_NUM >= 20180307 || PACKETVER_RE_NUM >= 20180221 || PACKETVER_ZERO_NUM >= 20180328
if (chr->loadName(char_id, WFIFOP(fd,6)) == 0)
WFIFOL(fd, 6) = 0;
#else