diff options
Diffstat (limited to 'src/egg/gfx/eggLightObject.cpp')
| -rw-r--r-- | src/egg/gfx/eggLightObject.cpp | 7 |
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; } } |
