1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Clean up ClientReady packet handling

fixes #12073
This commit is contained in:
sfan5
2022-02-14 21:01:42 +01:00
parent 5d0b18a0d0
commit c31b301722
3 changed files with 38 additions and 47 deletions

View File

@@ -128,9 +128,7 @@ public:
void setDirty(bool dirty) { m_dirty = true; }
u16 protocol_version = 0;
// v1 for clients older than 5.1.0-dev
u16 formspec_version = 1;
u16 formspec_version = 0;
session_t getPeerId() const { return m_peer_id; }