diff --git a/src/r_plane.cpp b/src/r_plane.cpp index 6c1cecdb5..f238c47d0 100644 --- a/src/r_plane.cpp +++ b/src/r_plane.cpp @@ -607,9 +607,10 @@ visplane_t *R_FindPlane (const secplane_t &height, FTextureID picnum, int lightl fixed_t alpha = FLOAT2FIXED(Alpha); //angle_t angle = (xform.Angle + xform.baseAngle).BAMs(); + FTransform nulltransform; + if (picnum == skyflatnum) // killough 10/98 { // most skies map together - FTransform nulltransform; lightlevel = 0; xform = &nulltransform; nulltransform.xOffs = nulltransform.yOffs = nulltransform.baseyOffs = 0;