From ba24c11260983da339bbc362a25ff5b3b54a2445 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Apr 2018 21:38:12 +0300 Subject: Update BeingRecv::processSolveCharName for new zero protocol versions. --- src/net/eathena/beingrecv.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index 731f00f44..1d098e9bc 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -74,6 +74,7 @@ extern int serverVersion; extern OkDialog *deathNotice; extern bool packets_re; extern bool packets_main; +extern bool packets_zero; namespace EAthena { @@ -2129,7 +2130,8 @@ void BeingRecv::processSkillCancel(Net::MessageIn &msg) void BeingRecv::processSolveCharName(Net::MessageIn &msg) { if ((packets_re == true && msg.getVersion() >= 20180221) || - (packets_main == true && msg.getVersion() >= 20180307)) + (packets_main == true && msg.getVersion() >= 20180307) || + (packets_zero == true && msg.getVersion() >= 20180328)) { const int flag = msg.readInt16("flag"); // name request errors -- cgit v1.2.3-70-g09d2