CActor: Don't recalculate world lighting always

This commit is contained in:
Luke Street 2022-08-15 18:51:45 -04:00
parent c883e5f1ac
commit 9d5db8ea16
1 changed files with 0 additions and 2 deletions

View File

@ -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;