diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-29 21:29:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-29 21:29:47 +0300 |
commit | 112c34e0e1b92397f0df7eea459fcbac946d340b (patch) | |
tree | caec65bd03eeeea5aa9e0a4d6608b5796709b94b /src/char/char.c | |
parent | 584e8de359412091cb05f98b83a25fac47b5c9f2 (diff) | |
parent | 2802489c1851c1725f44fb01cd76ff8d4a7e4bba (diff) | |
download | hercules-112c34e0e1b92397f0df7eea459fcbac946d340b.tar.gz hercules-112c34e0e1b92397f0df7eea459fcbac946d340b.tar.bz2 hercules-112c34e0e1b92397f0df7eea459fcbac946d340b.tar.xz hercules-112c34e0e1b92397f0df7eea459fcbac946d340b.zip |
Merge pull request #1994 from 4144/updatepackets
Update shuffle packets and keys up to 2018-03-28. Add new defines with packet versions.
Diffstat (limited to 'src/char/char.c')
-rw-r--r-- | src/char/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c index 0069e7f1d..93fb1be75 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 !defined(PACKETVER_ZERO) && (PACKETVER >= 20180307 || (defined(PACKETVER_RE) && PACKETVER >= 20180221)) +#if PACKETVER_MAIN_NUM >= 20180307 || PACKETVER_RE_NUM >= 20180221 if (chr->loadName(char_id, WFIFOP(fd,6)) == 0) WFIFOL(fd, 6) = 0; #else |