From 491e28f9a80d6e29eb260e10f31439d34246673f Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Tue, 21 Feb 2023 18:03:24 +0100 Subject: [PATCH] Initialize 'NavMeshPruneTool::m_hitPos' --- r5dev/naveditor/NavMeshPruneTool.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/r5dev/naveditor/NavMeshPruneTool.cpp b/r5dev/naveditor/NavMeshPruneTool.cpp index 89f7aeff..28708422 100644 --- a/r5dev/naveditor/NavMeshPruneTool.cpp +++ b/r5dev/naveditor/NavMeshPruneTool.cpp @@ -184,6 +184,9 @@ NavMeshPruneTool::NavMeshPruneTool() : m_flags(0), m_hitPosSet(false) { + m_hitPos[0] = 0.0f; + m_hitPos[1] = 0.0f; + m_hitPos[2] = 0.0f; } NavMeshPruneTool::~NavMeshPruneTool()