Merge branch 'skybox-sprites-fix' into 'master'

Fix for rendering sprites in skyboxes

This branch fixes the visual glitches one sees with sprites for objects within skyboxes, typically with parts of or all of some sprites disappearing from view even though they shouldn't be.

See merge request !84
This commit is contained in:
Alam Ed Arias 2016-06-08 14:05:06 -04:00
commit 6d2d48f152

View file

@ -1324,6 +1324,7 @@ void R_RenderPlayerView(player_t *player)
#endif #endif
R_RenderBSPNode((INT32)numnodes - 1); R_RenderBSPNode((INT32)numnodes - 1);
R_ClipSprites();
R_DrawPlanes(); R_DrawPlanes();
#ifdef FLOORSPLATS #ifdef FLOORSPLATS
R_DrawVisibleFloorSplats(); R_DrawVisibleFloorSplats();