From b99474a66bbdabca21bf4f84bfd8d2ab681575ad Mon Sep 17 00:00:00 2001 From: Sergey Lapin Date: Sun, 8 Feb 2026 23:29:37 +0300 Subject: [PATCH] Fixed uninitialized variable --- src/gamedata/items/town.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamedata/items/town.cpp b/src/gamedata/items/town.cpp index 8685bb9..dd418d7 100644 --- a/src/gamedata/items/town.cpp +++ b/src/gamedata/items/town.cpp @@ -3171,7 +3171,7 @@ void createTownWindows(flecs::entity e) frame1mesh->getSubMeshes().size() - 1); } int count = 0; - bool crash; + bool crash = false; for (count = 0; count < frame1mesh->getSubMeshes().size(); count++) { Ogre::SubMesh *submesh =