mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Fix single side line midtexture skewing
Red apparently left in code for single-sided linedefs to NOT skew their midtextures ...but it doesn't work because it doesn't stop the skewing code from running instead, regardless of whether Effect 1 is on or not. If it's decided single-sided line midtextures shouldn't do this though, the non-skew code could just as well be thrown out lol (or something else I guess?)
This commit is contained in:
parent
6d2d48f152
commit
20c2d84c78
1 changed files with 2 additions and 1 deletions
|
@ -1862,8 +1862,9 @@ void R_StoreWallRange(INT32 start, INT32 stop)
|
|||
if (linedef->flags & ML_DONTPEGBOTTOM)
|
||||
rw_midtexturemid = frontsector->floorheight + textureheight[sidedef->midtexture] - viewz;
|
||||
else
|
||||
rw_midtexturemid = frontsector->ceilingheight;
|
||||
rw_midtexturemid = frontsector->ceilingheight - viewz;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
if (linedef->flags & ML_DONTPEGBOTTOM)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue