mirror of https://github.com/AxioDL/metaforce.git
CActor: Don't recalculate world lighting always
This commit is contained in:
parent
c883e5f1ac
commit
9d5db8ea16
|
@ -123,8 +123,6 @@ void CActor::PreRender(CStateManager& mgr, const zeus::CFrustum& planes) {
|
|||
|
||||
xe4_30_outOfFrustum = !planes.aabbFrustumTest(x9c_renderBounds);
|
||||
if (!xe4_30_outOfFrustum) {
|
||||
xe7_28_worldLightingDirty = true;
|
||||
|
||||
bool lightsDirty = false;
|
||||
if (xe4_29_actorLightsDirty) {
|
||||
xe4_29_actorLightsDirty = false;
|
||||
|
|
Loading…
Reference in New Issue