ZDoom wasn't setting drawseg_t::curline when making "fake" drawseg for skyboxes, which interfered with portal sprite clipping routine randomly.
This commit is contained in:
parent
e669e3cd08
commit
75d21d6dd8
2 changed files with 2 additions and 4 deletions
|
|
@ -1294,6 +1294,7 @@ void R_DrawSkyBoxes ()
|
|||
ds_p->sprtopclip = R_NewOpening (pl->maxx - pl->minx + 1);
|
||||
ds_p->maskedtexturecol = ds_p->swall = -1;
|
||||
ds_p->bFogBoundary = false;
|
||||
ds_p->curline = NULL;
|
||||
memcpy (openings + ds_p->sprbottomclip, floorclip + pl->minx, (pl->maxx - pl->minx + 1)*sizeof(short));
|
||||
memcpy (openings + ds_p->sprtopclip, ceilingclip + pl->minx, (pl->maxx - pl->minx + 1)*sizeof(short));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue