mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- SW: hide the player sprite before calling the renderer.
This commit is contained in:
parent
d3e0a9590c
commit
81a690970b
1 changed files with 3 additions and 0 deletions
|
@ -1566,7 +1566,10 @@ drawscreen(PLAYERp pp, double smoothratio)
|
|||
else
|
||||
{
|
||||
UpdateWallPortalState();
|
||||
auto cstat = pp->SpriteP->cstat;
|
||||
if (!TEST(pp->Flags, PF_VIEW_FROM_OUTSIDE)) pp->SpriteP->cstat |= CSTAT_SPRITE_INVISIBLE;
|
||||
render_drawrooms(pp->SpriteP, { tx, ty, tz }, tsectnum, tang, thoriz, trotscrnang);
|
||||
pp->SpriteP->cstat = cstat;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue