summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-16 19:41:24 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-16 19:41:24 +0300
commit23a9bf91fc75a208b62e8c8a3ce8e5e5bb42ef36 (patch)
treea30e292c314e97df52619ff5fc2373ea694bcd0e /src/client.cpp
parenta4a23b1e0188f47d21a568447d93a1ac4562324d (diff)
downloadmanaplus-23a9bf91fc75a208b62e8c8a3ce8e5e5bb42ef36.tar.gz
manaplus-23a9bf91fc75a208b62e8c8a3ce8e5e5bb42ef36.tar.bz2
manaplus-23a9bf91fc75a208b62e8c8a3ce8e5e5bb42ef36.tar.xz
manaplus-23a9bf91fc75a208b62e8c8a3ce8e5e5bb42ef36.zip
Load evol packet offset from first packet from server.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index ef0e5af31..d67b58dce 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -180,6 +180,7 @@ LoginData loginData;
Client *client = nullptr;
extern FPSmanager fpsManager;
+extern int evolPacketOffset;
volatile bool runCounters;
bool isSafeMode = false;
@@ -1961,6 +1962,7 @@ void Client::unloadData()
serverVersion = 0;
packetVersion = 0;
tmwServerVersion = 0;
+ evolPacketOffset = 0;
}
void Client::runValidate()