summaryrefslogtreecommitdiff
path: root/src/clientiface.h
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-05-16 01:19:43 +0200
committerest31 <MTest31@outlook.com>2015-05-16 21:17:28 +0200
commit8dbf68331386f5f6a40ff0f0a77f5390bdca60b9 (patch)
tree2fe3a94702dcda55b41f614466306ab62e0b98bf /src/clientiface.h
parent19cbb6b37b9a35df7892bde5aad138266496eb8f (diff)
downloadminetest-8dbf68331386f5f6a40ff0f0a77f5390bdca60b9.tar.gz
minetest-8dbf68331386f5f6a40ff0f0a77f5390bdca60b9.tar.bz2
minetest-8dbf68331386f5f6a40ff0f0a77f5390bdca60b9.zip
Finalize init packets and enable protocol v25
This enables srp.
Diffstat (limited to 'src/clientiface.h')
-rw-r--r--src/clientiface.h4
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