Continuation of previous fix

This commit is contained in:
Lwmte 2024-12-19 08:59:37 +01:00
parent 60cfe1e2f4
commit 288a413400
2 changed files with 1 additions and 9 deletions

View file

@ -401,7 +401,7 @@ namespace TEN::Renderer
if (item->Status == ITEM_INVISIBLE)
continue;
if (item->ObjectNumber == ID_LARA && (Lara.Control.Look.OpticRange || SpotcamOverlay || SpotcamDontDrawLara))
if (item->ObjectNumber == ID_LARA && (SpotcamOverlay || SpotcamDontDrawLara))
continue;
if (item->ObjectNumber == ID_LARA && CurrentLevel == 0 && !g_GameFlow->IsLaraInTitleEnabled())

View file

@ -284,14 +284,6 @@ void TEN::Renderer::Renderer::DrawLara(RenderView& view, RendererPass rendererPa
if (Lara.Control.Look.OpticRange != 0 && _currentMirror == nullptr)
return;
// Don't draw player if spotcam is active.
if (SpotcamDontDrawLara)
return;
// Don't draw player if on title level and disabled.
if (CurrentLevel == 0 && !g_GameFlow->IsLaraInTitleEnabled())
return;
auto* item = &_items[LaraItem->Index];
auto* nativeItem = &g_Level.Items[item->ItemNumber];