summaryrefslogtreecommitdiff
path: root/src/egg/gfx/eggLightObject.cpp
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-03-23 22:51:40 +0100
committerrobojumper <robojumper@gmail.com>2025-03-23 22:51:40 +0100
commit178af0c42b1fcd9eb7cfd1527fbc1d773998009f (patch)
tree69480842ebec6d6696b6f134134f28288e9adf48 /src/egg/gfx/eggLightObject.cpp
parent3ef9b0df8b956bdb3f371ee118ef6dc881ea61e6 (diff)
LightManager halfway there
Diffstat (limited to 'src/egg/gfx/eggLightObject.cpp')
-rw-r--r--src/egg/gfx/eggLightObject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/egg/gfx/eggLightObject.cpp b/src/egg/gfx/eggLightObject.cpp
index f24a2159..b19e3a0f 100644
--- a/src/egg/gfx/eggLightObject.cpp
+++ b/src/egg/gfx/eggLightObject.cpp
@@ -286,9 +286,9 @@ void LightObject::CopyFromG3D(
}
} else {
// TODO
- ClearFlag4();
+ ClearFlag2();
if (optObj != nullptr) {
- optObj->ClearFlag4();
+ optObj->ClearFlag2();
}
}
}
@@ -367,7 +367,7 @@ bool LightObject::ApplyAnmResultB(const nw4r::g3d::LightAnmResult &res) {
mShininess = res.shininess;
return true;
} else {
- ClearFlag4();
+ ClearFlag2();
return false;
}
}