mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 16:41:22 +00:00
Show player in mirrors and portals
This commit is contained in:
parent
388c511e11
commit
371dd98102
1 changed files with 2 additions and 0 deletions
|
@ -322,6 +322,8 @@ namespace swrenderer
|
|||
DVector3 startpos = ViewPos;
|
||||
DVector3 savedpath[2] = { ViewPath[0], ViewPath[1] };
|
||||
ActorRenderFlags savedvisibility = camera ? camera->renderflags & RF_INVISIBLE : ActorRenderFlags::FromInt(0);
|
||||
|
||||
camera->renderflags &= ~RF_INVISIBLE;
|
||||
|
||||
CurrentPortalUniq++;
|
||||
|
||||
|
|
Loading…
Reference in a new issue