mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix solid midtextures
UDMF's ML_MIDPEG == Binary's (!!(linedef->flags & ML_DONTPEGBOTTOM) ^ !!(linedef->flags & ML_MIDPEG)). This is converted in P_ConvertBinaryLinedefFlags
This commit is contained in:
parent
dbf11e228d
commit
dbedd66259
1 changed files with 2 additions and 2 deletions
|
|
@ -534,7 +534,7 @@ P_GetMidtextureTopBottom
|
||||||
texbottom = back->floorheight + side->rowoffset;
|
texbottom = back->floorheight + side->rowoffset;
|
||||||
textop = back->ceilingheight + side->rowoffset;
|
textop = back->ceilingheight + side->rowoffset;
|
||||||
}
|
}
|
||||||
else if (!!(linedef->flags & ML_DONTPEGBOTTOM) ^ !!(linedef->flags & ML_MIDPEG))
|
else if (linedef->flags & ML_MIDPEG)
|
||||||
{
|
{
|
||||||
texbottom = back->floorheight + side->rowoffset;
|
texbottom = back->floorheight + side->rowoffset;
|
||||||
textop = texbottom + texheight*(side->repeatcnt+1);
|
textop = texbottom + texheight*(side->repeatcnt+1);
|
||||||
|
|
@ -553,7 +553,7 @@ P_GetMidtextureTopBottom
|
||||||
texbottom += side->rowoffset;
|
texbottom += side->rowoffset;
|
||||||
textop += side->rowoffset;
|
textop += side->rowoffset;
|
||||||
}
|
}
|
||||||
else if (!!(linedef->flags & ML_DONTPEGBOTTOM) ^ !!(linedef->flags & ML_MIDPEG))
|
else if (linedef->flags & ML_MIDPEG)
|
||||||
{
|
{
|
||||||
texbottom += side->rowoffset;
|
texbottom += side->rowoffset;
|
||||||
textop = texbottom + texheight*(side->repeatcnt+1);
|
textop = texbottom + texheight*(side->repeatcnt+1);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue