- Removed redundant expression in R_FindPlane.

This commit is contained in:
Braden Obrzut 2014-01-18 15:40:48 -05:00
parent 7af8b78b9f
commit ebcd0e9c49

View file

@ -607,8 +607,7 @@ visplane_t *R_FindPlane (const secplane_t &height, FTextureID picnum, int lightl
// same visplane, then only the floor sky will be drawn. // same visplane, then only the floor sky will be drawn.
plane.c = height.c; plane.c = height.c;
plane.ic = height.ic; plane.ic = height.ic;
isskybox = skybox != NULL && !skybox->bInSkybox && isskybox = skybox != NULL && !skybox->bInSkybox;
(skybox->bAlways || picnum == skyflatnum);
} }
else if (skybox != NULL && skybox->bAlways && !skybox->bInSkybox) else if (skybox != NULL && skybox->bAlways && !skybox->bInSkybox)
{ {