1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00: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:
red-001 2024-09-02 20:50:43 +01:00 committed by GitHub
parent 2bc9dc54ff
commit d5d8fb629b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 39 deletions

View file

@ -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
*/