mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Continuation of previous fix
This commit is contained in:
parent
60cfe1e2f4
commit
288a413400
2 changed files with 1 additions and 9 deletions
|
@ -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())
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue