mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
Fix disappearing actor issue
This commit is contained in:
@@ -747,7 +747,7 @@ void CStateManager::DrawWorld() const
|
||||
bool isVisArea = area.x4_selfIdx == visAreaId;
|
||||
SetupFogForArea(area);
|
||||
g_Renderer->SetWorldLightFadeLevel(area.GetPostConstructed()->x1128_worldLightingLevel);
|
||||
for (CEntity* ent : *area.GetPostConstructed()->x10c0_areaObjs)
|
||||
for (CEntity* ent : *area.GetAreaObjects())
|
||||
{
|
||||
if (TCastToPtr<CActor> actor = ent)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user