Skip to content

Commit

Permalink
Map Renderer|Fixed: Do not add polyobj edges to angle clipper when vi…
Browse files Browse the repository at this point in the history
…ewer is in the void

Polyobj half edges should not result in solid angle clipper segments
when the viewer is in the void.
  • Loading branch information
danij-deng committed May 8, 2012
1 parent 6804b06 commit 5145869
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doomsday/engine/portable/src/rend_main.c
Expand Up @@ -2810,7 +2810,9 @@ static void Rend_RenderBspLeaf(BspLeaf* bspLeaf)
if(hedge->frameFlags & HEDGEINF_FACINGFRONT)
{
boolean solid = Rend_RenderHEdge(hedge, bspLeaf);
if(solid)

// When the viewer is in the void no wall is "solid".
if(solid && !P_IsInVoid(viewPlayer))
{
C_AddRangeFromViewRelPoints(hedge->HE_v1origin, hedge->HE_v2origin);
}
Expand Down

0 comments on commit 5145869

Please sign in to comment.