mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Fix 1 extra column rendering on portal-clipped vissprites.
This commit is contained in:
parent
c5c4744652
commit
52618bf895
1 changed files with 4 additions and 4 deletions
|
|
@ -1352,8 +1352,8 @@ static void R_ProjectSprite(mobj_t *thing)
|
||||||
{
|
{
|
||||||
if (vis->x1 < portalclipstart)
|
if (vis->x1 < portalclipstart)
|
||||||
vis->x1 = portalclipstart;
|
vis->x1 = portalclipstart;
|
||||||
if (vis->x2 > portalclipend)
|
if (vis->x2 >= portalclipend)
|
||||||
vis->x2 = portalclipend;
|
vis->x2 = portalclipend-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
vis->xscale = xscale; //SoM: 4/17/2000
|
vis->xscale = xscale; //SoM: 4/17/2000
|
||||||
|
|
@ -1570,8 +1570,8 @@ static void R_ProjectPrecipitationSprite(precipmobj_t *thing)
|
||||||
{
|
{
|
||||||
if (vis->x1 < portalclipstart)
|
if (vis->x1 < portalclipstart)
|
||||||
vis->x1 = portalclipstart;
|
vis->x1 = portalclipstart;
|
||||||
if (vis->x2 > portalclipend)
|
if (vis->x2 >= portalclipend)
|
||||||
vis->x2 = portalclipend;
|
vis->x2 = portalclipend-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
vis->xscale = xscale; //SoM: 4/17/2000
|
vis->xscale = xscale; //SoM: 4/17/2000
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue