mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 15:32:57 +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
|
@ -323,6 +323,8 @@ namespace swrenderer
|
||||||
DVector3 savedpath[2] = { ViewPath[0], ViewPath[1] };
|
DVector3 savedpath[2] = { ViewPath[0], ViewPath[1] };
|
||||||
ActorRenderFlags savedvisibility = camera ? camera->renderflags & RF_INVISIBLE : ActorRenderFlags::FromInt(0);
|
ActorRenderFlags savedvisibility = camera ? camera->renderflags & RF_INVISIBLE : ActorRenderFlags::FromInt(0);
|
||||||
|
|
||||||
|
camera->renderflags &= ~RF_INVISIBLE;
|
||||||
|
|
||||||
CurrentPortalUniq++;
|
CurrentPortalUniq++;
|
||||||
|
|
||||||
unsigned int portalsAtStart = WallPortals.Size();
|
unsigned int portalsAtStart = WallPortals.Size();
|
||||||
|
|
Loading…
Reference in a new issue