MASTERNOSEE flag (#1601)
Makes it so that if an actor's master is invisible due to camera/mirror/portal shenanigans, then the actor will also be invisible. Name based off of an Unreal Engine flag that does the exact same thing. Co-authored-by: Christoph Oelckers <coelckers@users.noreply.github.com>
This commit is contained in:
parent
2c69afa118
commit
bb42e541e9
6 changed files with 54 additions and 11 deletions
|
|
@ -171,7 +171,7 @@ namespace swrenderer
|
|||
// Never draw the player unless in chasecam mode
|
||||
if (!MainThread()->Viewport->viewpoint.showviewer)
|
||||
{
|
||||
MainThread()->Viewport->viewpoint.camera->renderflags |= RF_INVISIBLE;
|
||||
MainThread()->Viewport->viewpoint.camera->renderflags |= RF_MAYBEINVISIBLE;
|
||||
}
|
||||
|
||||
RenderThreadSlices();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue