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:
parent
2bc9dc54ff
commit
d5d8fb629b
5 changed files with 13 additions and 39 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue