summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-02 01:51:25 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-02 01:51:25 +0200
commit582428edf9e40db0d1ed7b78222562a7a5031fe4 (patch)
tree2a9f4b1303a3647e3d7bf4599e85ebd358159b4d /src/client.cpp
parent218dbbd7ce5415fe8c26857f06c5907c7cc6d175 (diff)
downloadplus-582428edf9e40db0d1ed7b78222562a7a5031fe4.tar.gz
plus-582428edf9e40db0d1ed7b78222562a7a5031fe4.tar.bz2
plus-582428edf9e40db0d1ed7b78222562a7a5031fe4.tar.xz
plus-582428edf9e40db0d1ed7b78222562a7a5031fe4.zip
Add serverversion checks. And disable some advanced features in old servers.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 4eaad4234..e1753753e 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -151,6 +151,7 @@ volatile int frame_count = 0; /**< Counts the frames during one second */
volatile int cur_time;
volatile bool runCounters;
bool isSafeMode = false;
+int serverVersion;
/**
* Advances game logic counter.