From 0325de7dacaf1e2feaea5eaab4791bc23d78f9e7 Mon Sep 17 00:00:00 2001 From: Victor <47831936+solvictor@users.noreply.github.com> Date: Sun, 8 Sep 2024 23:18:28 +0200 Subject: Uninitialised value fix (#5570) --- CONTRIBUTORS | 1 + src/ClientHandle.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index db229a6f9..0a599bd30 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -80,6 +80,7 @@ Schwertspize Seadragon91 (Lukas Pioch) sleirsgoevy (Sergey Lisov) Sofapriester +solvictor Spekdrum (Pablo Beltran) SphinxC0re Spongecade (Updated wiki links) diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index b726e5c6f..01c95095a 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -74,6 +74,7 @@ cClientHandle::cClientHandle(const AString & a_IPString, int a_ViewDistance) : m_IPString(a_IPString), m_Player(nullptr), m_CachedSentChunk(std::numeric_limits::max(), std::numeric_limits::max()), + m_ProxyConnection(false), m_HasSentDC(false), m_LastStreamedChunkX(std::numeric_limits::max()), // bogus chunk coords to force streaming upon login m_LastStreamedChunkZ(std::numeric_limits::max()), -- cgit v1.2.3