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;