diff --git a/source/Irrlicht/CQ3LevelMesh.cpp b/source/Irrlicht/CQ3LevelMesh.cpp index 400acd7e..08b107b0 100644 --- a/source/Irrlicht/CQ3LevelMesh.cpp +++ b/source/Irrlicht/CQ3LevelMesh.cpp @@ -1812,7 +1812,7 @@ void CQ3LevelMesh::cleanMesh(SMesh *m, const bool texture0important) u32 i = 0; s32 blockstart = -1; - s32 blockcount; + s32 blockcount = 0; while( i < m->MeshBuffers.size()) {