mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-solid-midtex' into 'master'
Fix solid midtextures Closes #349 See merge request KartKrew/Kart!799
This commit is contained in:
commit
b51769c015
1 changed files with 2 additions and 2 deletions
|
|
@ -534,7 +534,7 @@ P_GetMidtextureTopBottom
|
|||
texbottom = back->floorheight + 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;
|
||||
textop = texbottom + texheight*(side->repeatcnt+1);
|
||||
|
|
@ -553,7 +553,7 @@ P_GetMidtextureTopBottom
|
|||
texbottom += side->rowoffset;
|
||||
textop += side->rowoffset;
|
||||
}
|
||||
else if (!!(linedef->flags & ML_DONTPEGBOTTOM) ^ !!(linedef->flags & ML_MIDPEG))
|
||||
else if (linedef->flags & ML_MIDPEG)
|
||||
{
|
||||
texbottom += side->rowoffset;
|
||||
textop = texbottom + texheight*(side->repeatcnt+1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue