This commit is contained in:
Rachael Alexanderson 2016-10-30 23:44:09 -04:00
commit beab686ca6

View file

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