summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/attendancehandler.cpp4
-rw-r--r--src/net/eathena/packetsout.inc6
2 files changed, 9 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;
}
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc
index 32c7bfe9e..b13f6874a 100644
--- a/src/net/eathena/packetsout.inc
+++ b/src/net/eathena/packetsout.inc
@@ -1351,4 +1351,10 @@ if (packetVersionMain >= 20180404)
packet(CMSG_ATTENDANCE_REWARD, 0x0aef, 2, clif->pAttendanceRewardRequest);
}
+// zero 20180411
+if (packetVersionZero >= 20180411)
+{
+ packet(CMSG_ATTENDANCE_REWARD, 0x0aef, 2, clif->pAttendanceRewardRequest);
+}
+
#endif