Show player in mirrors and portals

This commit is contained in:
Magnus Norddahl 2017-02-09 05:57:37 +01:00
parent 388c511e11
commit 371dd98102

View file

@ -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();