From a6260453ea91b32e37893df38c2ac0108bb18f68 Mon Sep 17 00:00:00 2001 From: elsid Date: Thu, 1 Jul 2021 19:00:22 +0200 Subject: [PATCH] Add missing initialization --- components/detournavigator/navmeshdata.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/detournavigator/navmeshdata.hpp b/components/detournavigator/navmeshdata.hpp index 501e971cba..6e400af3bc 100644 --- a/components/detournavigator/navmeshdata.hpp +++ b/components/detournavigator/navmeshdata.hpp @@ -20,7 +20,7 @@ namespace DetourNavigator struct NavMeshData { NavMeshDataValue mValue; - int mSize; + int mSize = 0; NavMeshData() = default;