summaryrefslogtreecommitdiff
path: root/src/egg/gfx/eggLightObject.cpp
diff options
context:
space:
mode:
authorelijah-thomas774 <elijahthomas774@gmail.com>2025-03-22 20:47:19 -0400
committerelijah-thomas774 <elijahthomas774@gmail.com>2025-03-22 20:47:19 -0400
commitda9155aa5fdbabcf0d6dcf41fdf690b8b201fb78 (patch)
tree4151c7e66117c5c798df2684f30abc78c2d0cd61 /src/egg/gfx/eggLightObject.cpp
parentf66c22cf63529120697765e05b796d401c16555f (diff)
parentfb8a02193562bf57d35c4c70d168c6ae226084a6 (diff)
Merge branch '🥚' of https://github.com/robojumper/ss into pr/142
Diffstat (limited to 'src/egg/gfx/eggLightObject.cpp')
-rw-r--r--src/egg/gfx/eggLightObject.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/egg/gfx/eggLightObject.cpp b/src/egg/gfx/eggLightObject.cpp
index 1c5703c7..f24a2159 100644
--- a/src/egg/gfx/eggLightObject.cpp
+++ b/src/egg/gfx/eggLightObject.cpp
@@ -286,9 +286,9 @@ void LightObject::CopyFromG3D(
}
} else {
// TODO
- mFlags = mFlags & 0xFFFE;
+ ClearFlag4();
if (optObj != nullptr) {
- optObj->mFlags = optObj->mFlags & 0xFFFE;
+ optObj->ClearFlag4();
}
}
}
@@ -367,8 +367,7 @@ bool LightObject::ApplyAnmResultB(const nw4r::g3d::LightAnmResult &res) {
mShininess = res.shininess;
return true;
} else {
- // TODO
- mFlags = mFlags & 0xFFFE;
+ ClearFlag4();
return false;
}
}