From 521d44d623eb1346c785a1d10eb0c35e5b7c7076 Mon Sep 17 00:00:00 2001 From: nashmuhandes Date: Thu, 24 Oct 2024 11:15:59 +0800 Subject: [PATCH] Fix compile error --- src/rendering/hwrenderer/doom_levelmesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendering/hwrenderer/doom_levelmesh.cpp b/src/rendering/hwrenderer/doom_levelmesh.cpp index a9b60bb8f..03e0ab2dc 100644 --- a/src/rendering/hwrenderer/doom_levelmesh.cpp +++ b/src/rendering/hwrenderer/doom_levelmesh.cpp @@ -44,7 +44,7 @@ static int InvalidateLightmap() { int count = 0; - for (auto& tile : level.levelMesh->LightmapTiles) + for (auto& tile : level.levelMesh->Lightmap.Tiles) { if (!tile.NeedsUpdate) ++count;