diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-04-17 21:38:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-04-17 22:43:23 +0300 |
commit | ba24c11260983da339bbc362a25ff5b3b54a2445 (patch) | |
tree | 756eacc3e274843cd6e67e2dbae795d6cc9d1afc /src/net/eathena | |
parent | b37c55992ed7692a89b5a22345240bf855037517 (diff) | |
download | ManaVerse-ba24c11260983da339bbc362a25ff5b3b54a2445.tar.gz ManaVerse-ba24c11260983da339bbc362a25ff5b3b54a2445.tar.bz2 ManaVerse-ba24c11260983da339bbc362a25ff5b3b54a2445.tar.xz ManaVerse-ba24c11260983da339bbc362a25ff5b3b54a2445.zip |
Update BeingRecv::processSolveCharName for new zero protocol versions.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 |