mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 03:12:38 +00:00
Fix 1 extra column rendering on portal-clipped vissprites.
This commit is contained in:
parent
d2605e0314
commit
c014235ad3
1 changed files with 4 additions and 4 deletions
|
@ -1352,8 +1352,8 @@ static void R_ProjectSprite(mobj_t *thing)
|
|||
{
|
||||
if (vis->x1 < portalclipstart)
|
||||
vis->x1 = portalclipstart;
|
||||
if (vis->x2 > portalclipend)
|
||||
vis->x2 = portalclipend;
|
||||
if (vis->x2 >= portalclipend)
|
||||
vis->x2 = portalclipend-1;
|
||||
}
|
||||
|
||||
vis->xscale = xscale; //SoM: 4/17/2000
|
||||
|
@ -1570,8 +1570,8 @@ static void R_ProjectPrecipitationSprite(precipmobj_t *thing)
|
|||
{
|
||||
if (vis->x1 < portalclipstart)
|
||||
vis->x1 = portalclipstart;
|
||||
if (vis->x2 > portalclipend)
|
||||
vis->x2 = portalclipend;
|
||||
if (vis->x2 >= portalclipend)
|
||||
vis->x2 = portalclipend-1;
|
||||
}
|
||||
|
||||
vis->xscale = xscale; //SoM: 4/17/2000
|
||||
|
|
Loading…
Reference in a new issue