Fixed skybox clipping: lines in a skybox shouldn't be clipped against current portal

This commit is contained in:
ZZYZX 2016-01-10 05:22:33 +02:00
commit 4d518a220c
6 changed files with 19 additions and 38 deletions

View file

@ -1193,6 +1193,7 @@ void R_DrawSkyBoxes ()
return;
R_3D_EnterSkybox();
CurrentPortalInSkybox = true;
int savedextralight = extralight;
fixed_t savedx = viewx;
@ -1367,6 +1368,7 @@ void R_DrawSkyBoxes ()
viewangle = savedangle;
R_SetViewAngle ();
CurrentPortalInSkybox = false;
R_3D_LeaveSkybox();
if(fakeActive) return;