summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-09 22:15:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-09 22:15:19 +0300
commita2af952c687ff666208a316d8b7b4e394df19d2f (patch)
treeef20e0d49ac16397d3aa7b47db8657e89e175dc7 /src/client.cpp
parent847ad4c18e4355cac45102f5ad8f8bbf4e43f84f (diff)
downloadmanaplus-a2af952c687ff666208a316d8b7b4e394df19d2f.tar.gz
manaplus-a2af952c687ff666208a316d8b7b4e394df19d2f.tar.bz2
manaplus-a2af952c687ff666208a316d8b7b4e394df19d2f.tar.xz
manaplus-a2af952c687ff666208a316d8b7b4e394df19d2f.zip
Read server packet version from server (hercules).
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 8c8276f7e..d0c4e38c0 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -171,6 +171,7 @@ extern FPSmanager fpsManager;
volatile bool runCounters;
bool isSafeMode = false;
int serverVersion = 0;
+int packetVersion = 0;
unsigned int tmwServerVersion = 0;
int start_time;
unsigned int mLastHost = 0;
@@ -1010,6 +1011,7 @@ int Client::gameExec()
loginData.clearUpdateHost();
serverVersion = 0;
+ packetVersion = 0;
tmwServerVersion = 0;
// Allow changing this using a server choice dialog