diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-05-04 20:39:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-05-04 20:42:13 +0300 |
commit | 704672e323f88c68690ae976233e7447c131c96c (patch) | |
tree | f853f0b1ae0e5816c81ddfd8fd9d93059863688e /src/net/eathena/attendancehandler.cpp | |
parent | 379c1761469f4ee4edde3c46fc33ed3f981fce93 (diff) | |
download | plus-704672e323f88c68690ae976233e7447c131c96c.tar.gz plus-704672e323f88c68690ae976233e7447c131c96c.tar.bz2 plus-704672e323f88c68690ae976233e7447c131c96c.tar.xz plus-704672e323f88c68690ae976233e7447c131c96c.zip |
Add packet CMSG_ATTENDANCE_REWARD for zero clients.
Diffstat (limited to 'src/net/eathena/attendancehandler.cpp')
-rw-r--r-- | src/net/eathena/attendancehandler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/eathena/attendancehandler.cpp b/src/net/eathena/attendancehandler.cpp index 538a72fc9..a492563c1 100644 --- a/src/net/eathena/attendancehandler.cpp +++ b/src/net/eathena/attendancehandler.cpp @@ -28,6 +28,7 @@ extern int packetVersion; extern int packetVersionRe; extern int packetVersionMain; +extern int packetVersionZero; namespace EAthena { @@ -53,7 +54,8 @@ void AttendanceHandler::openAttendanceWindow() const void AttendanceHandler::requestReward() const { if (packetVersionRe < 20180307 && - packetVersionMain < 20180404) + packetVersionMain < 20180404 && + packetVersionZero < 20180411) { return; } |