mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-12 18:06:09 +00:00
Work on CMorphBallShadow
This commit is contained in:
@@ -312,4 +312,15 @@ void CActor::SetActorLights(std::unique_ptr<CActorLights> lights)
|
||||
x90_actorLights = std::move(lights);
|
||||
xe4_31_lightsDirty = true;
|
||||
}
|
||||
|
||||
bool CActor::CanDrawStatic() const
|
||||
{
|
||||
if (!x30_24_active)
|
||||
return false;
|
||||
|
||||
if (x64_modelData && x64_modelData->HasNormalModel())
|
||||
return xb4_ <= 4;
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user