diff options
author | est31 <MTest31@outlook.com> | 2015-05-16 01:19:43 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-05-16 21:17:28 +0200 |
commit | 8dbf68331386f5f6a40ff0f0a77f5390bdca60b9 (patch) | |
tree | 2fe3a94702dcda55b41f614466306ab62e0b98bf /src/clientiface.h | |
parent | 19cbb6b37b9a35df7892bde5aad138266496eb8f (diff) | |
download | hax-minetest-server-8dbf68331386f5f6a40ff0f0a77f5390bdca60b9.tar.gz hax-minetest-server-8dbf68331386f5f6a40ff0f0a77f5390bdca60b9.zip |
Finalize init packets and enable protocol v25
This enables srp.
Diffstat (limited to '')
-rw-r--r-- | src/clientiface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clientiface.h b/src/clientiface.h index 070559c3a..4707f4d9a 100644 --- a/src/clientiface.h +++ b/src/clientiface.h @@ -337,7 +337,7 @@ public: void setPendingSerializationVersion(u8 version) { m_pending_serialization_version = version; } - void setSupportedCompressionModes(u8 byteFlag) + void setSupportedCompressionModes(u16 byteFlag) { m_supported_compressions = byteFlag; } void confirmSerializationVersion() @@ -416,7 +416,7 @@ private: std::string m_full_version; - u8 m_supported_compressions; + u16 m_supported_compressions; /* time this client was created |