Skip to content

Commit

Permalink
Fix creating tiles for sky surfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Jan 17, 2024
1 parent 3d9cf5b commit 500ddfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lightmapper/doom_levelsubmesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ void DoomLevelSubmesh::AddSurfaceToTile(DoomLevelMeshSurface& surf, std::map<Lig
if (surf.IsSky)
{
surf.LightmapTileIndex = -1;
return;
}

LightmapTileBinding binding;
Expand Down

0 comments on commit 500ddfe

Please sign in to comment.