Fixed skybox clipping: lines in a skybox shouldn't be clipped against current portal
This commit is contained in:
parent
75d21d6dd8
commit
4d518a220c
6 changed files with 19 additions and 38 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue