Fix creating tiles for sky surfaces

This commit is contained in:
Magnus Norddahl 2024-01-17 15:15:00 +01:00
parent 3d9cf5bc06
commit 500ddfebe9

View file

@ -701,6 +701,7 @@ void DoomLevelSubmesh::AddSurfaceToTile(DoomLevelMeshSurface& surf, std::map<Lig
if (surf.IsSky)
{
surf.LightmapTileIndex = -1;
return;
}
LightmapTileBinding binding;