summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-17 21:38:12 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-17 22:43:23 +0300
commitba24c11260983da339bbc362a25ff5b3b54a2445 (patch)
tree756eacc3e274843cd6e67e2dbae795d6cc9d1afc /src
parentb37c55992ed7692a89b5a22345240bf855037517 (diff)
downloadmanaverse-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')
-rw-r--r--src/net/eathena/beingrecv.cpp4
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