summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-18 20:45:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-18 21:45:23 +0300
commit37f5b0df96cf20b205d0636d499b863f92d4d040 (patch)
tree425838ac46f34985901eabc00f535c391aca56c6 /src
parent031f32210799807411af4fb9a40793d4f26febe7 (diff)
downloadmanaplus-37f5b0df96cf20b205d0636d499b863f92d4d040.tar.gz
manaplus-37f5b0df96cf20b205d0636d499b863f92d4d040.tar.bz2
manaplus-37f5b0df96cf20b205d0636d499b863f92d4d040.tar.xz
manaplus-37f5b0df96cf20b205d0636d499b863f92d4d040.zip
Enable haveMove3 server feature for tmwa server with verison 0x0f0518.
Also change tmwa client net code version to 3.
Diffstat (limited to 'src')
-rw-r--r--src/net/tmwa/network.h2
-rw-r--r--src/net/tmwa/serverfeatures.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/network.h b/src/net/tmwa/network.h
index 90cce7d7e..793be1f83 100644
--- a/src/net/tmwa/network.h
+++ b/src/net/tmwa/network.h
@@ -30,7 +30,7 @@
* the protocol accordingly.
*/
#define CLIENT_PROTOCOL_VERSION 12
-#define CLIENT_TMW_PROTOCOL_VERSION 2
+#define CLIENT_TMW_PROTOCOL_VERSION 3
namespace TmwAthena
{
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 300d4398d..061961eca 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -111,7 +111,7 @@ bool ServerFeatures::haveServerIgnore() const
bool ServerFeatures::haveMove3() const
{
- return serverVersion >= 10;
+ return serverVersion >= 10 || tmwServerVersion >= 0x0f0518;
}
bool ServerFeatures::haveItemColors() const