mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:47:42 +00:00
Work on CFluidPlaneCPU
This commit is contained in:
@@ -457,7 +457,7 @@ void CActorLights::BuildDynamicLightList(const CStateManager& mgr, const zeus::C
|
||||
x299_26_ = false;
|
||||
x144_dynamicLights.clear();
|
||||
|
||||
if (!x29a_)
|
||||
if (!x29a_findNearestDynamicLights)
|
||||
{
|
||||
for (const CLight& light : mgr.GetDynamicLightList())
|
||||
{
|
||||
@@ -555,6 +555,13 @@ void CActorLights::ActivateLights(CBooModel& model) const
|
||||
}
|
||||
}
|
||||
|
||||
void CActorLights::DisableAreaLights()
|
||||
{
|
||||
x2b8_maxAreaLights = 0;
|
||||
x298_26_hasAreaLights = false;
|
||||
x298_28_inArea = false;
|
||||
}
|
||||
|
||||
const CLight& CActorLights::GetLight(u32 idx) const
|
||||
{
|
||||
if (x298_28_inArea)
|
||||
|
||||
Reference in New Issue
Block a user