1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 10:10:01 +00:00

random fixes

This commit is contained in:
aap 2020-05-11 17:04:08 +02:00
parent 85c44715ea
commit 95920d54f2
2 changed files with 16 additions and 16 deletions

View file

@ -262,7 +262,7 @@ CStreaming::Init(void)
}
}
#else
CStreaming::Init();
CStreaming::Init2();
#endif
}

View file

@ -362,7 +362,7 @@ CRenderer::SetupEntityVisibility(CEntity *ent)
ent->bNoBrightHeadLights = false;
}
return VIS_OFFSCREEN;
}else{
}
// All sorts of Clumps
if(ent->m_rwObject == nil || !ent->bIsVisible)
return VIS_INVISIBLE;
@ -373,10 +373,8 @@ CRenderer::SetupEntityVisibility(CEntity *ent)
CVisibilityPlugins::InsertEntityIntoSortedList(ent, dist);
ent->bDistanceFade = false;
return VIS_INVISIBLE;
}else
return VIS_VISIBLE;
}
return VIS_INVISIBLE;
return VIS_VISIBLE;
}
if(ent->IsObject() &&
((CObject*)ent)->ObjectCreatedBy == TEMP_OBJECT){
@ -1196,8 +1194,10 @@ CRenderer::IsVehicleCullZoneVisible(CEntity *ent)
void
CRenderer::RemoveVehiclePedLights(CEntity *ent, bool reset)
{
if(ent->bRenderScorched)
if(ent->bRenderScorched){
WorldReplaceScorchedLightsWithNormal(Scene.world);
return;
}
CPointLights::RemoveLightsAffectingObject();
if(reset)
ReSetAmbientAndDirectionalColours();