mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Simplify TOSERVER_INIT
and TOCLIENT_HELLO
- Network compression support was never added. - Client hasn't used the returned playername since at least 0.4-stable.
This commit is contained in:
@@ -321,9 +321,6 @@ public:
|
||||
void setPendingSerializationVersion(u8 version)
|
||||
{ m_pending_serialization_version = version; }
|
||||
|
||||
void setDeployedCompressionMode(u16 byteFlag)
|
||||
{ m_deployed_compression = byteFlag; }
|
||||
|
||||
void confirmSerializationVersion()
|
||||
{ serialization_version = m_pending_serialization_version; }
|
||||
|
||||
@@ -449,8 +446,6 @@ private:
|
||||
|
||||
std::string m_full_version = "unknown";
|
||||
|
||||
u16 m_deployed_compression = 0;
|
||||
|
||||
/*
|
||||
time this client was created
|
||||
*/
|
||||
|
Reference in New Issue
Block a user