diff options
Diffstat (limited to 'source/game/StarWorldClientState.cpp')
-rw-r--r-- | source/game/StarWorldClientState.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/game/StarWorldClientState.cpp b/source/game/StarWorldClientState.cpp index 5dc6b12..21552cd 100644 --- a/source/game/StarWorldClientState.cpp +++ b/source/game/StarWorldClientState.cpp @@ -22,6 +22,8 @@ WorldClientState::WorldClientState() { m_netGroup.addNetElement(&m_playerId); m_netGroup.addNetElement(&m_clientPresenceEntities); + + m_legacy = false; } RectI WorldClientState::window() const { @@ -87,6 +89,14 @@ void WorldClientState::readDelta(ByteArray delta) { m_netGroup.readNetState(std::move(delta)); } +void WorldClientState::setLegacy(bool legacy) { + m_legacy = legacy; +} + +bool WorldClientState::legacy() const { + return m_legacy; +} + void WorldClientState::reset() { m_netVersion = 0; } |