LightManager halfway there

This commit is contained in:
robojumper
2025-03-23 22:51:40 +01:00
parent 3ef9b0df8b
commit 178af0c42b
13 changed files with 398 additions and 46 deletions
+3 -3
View File
@@ -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;
}
}