Fix missing sprite column
This commit is contained in:
parent
9cd9d2e0d7
commit
00ac9deb5b
|
@ -1388,7 +1388,7 @@ void R_RenderPlayerView(player_t *player)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
portalclipstart = 0;
|
portalclipstart = 0;
|
||||||
portalclipend = viewwidth-1;
|
portalclipend = viewwidth;
|
||||||
R_ClearClipSegs();
|
R_ClearClipSegs();
|
||||||
}
|
}
|
||||||
R_ClearDrawSegs();
|
R_ClearDrawSegs();
|
||||||
|
|
|
@ -1688,7 +1688,7 @@ static void R_ProjectSprite(mobj_t *thing)
|
||||||
// PORTAL SPRITE CLIPPING
|
// PORTAL SPRITE CLIPPING
|
||||||
if (portalrender && portalclipline)
|
if (portalrender && portalclipline)
|
||||||
{
|
{
|
||||||
if (x2 < portalclipstart || x1 > portalclipend)
|
if (x2 < portalclipstart || x1 >= portalclipend)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (P_PointOnLineSide(thing->x, thing->y, portalclipline) != 0)
|
if (P_PointOnLineSide(thing->x, thing->y, portalclipline) != 0)
|
||||||
|
@ -1958,7 +1958,7 @@ static void R_ProjectPrecipitationSprite(precipmobj_t *thing)
|
||||||
// PORTAL SPRITE CLIPPING
|
// PORTAL SPRITE CLIPPING
|
||||||
if (portalrender && portalclipline)
|
if (portalrender && portalclipline)
|
||||||
{
|
{
|
||||||
if (x2 < portalclipstart || x1 > portalclipend)
|
if (x2 < portalclipstart || x1 >= portalclipend)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (P_PointOnLineSide(thing->x, thing->y, portalclipline) != 0)
|
if (P_PointOnLineSide(thing->x, thing->y, portalclipline) != 0)
|
||||||
|
|
Loading…
Reference in New Issue