mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
CActorContraption fixes, better CMake dependency handling
This commit is contained in:
@@ -190,7 +190,7 @@ void CScriptDamageableTrigger::Think(float dt, CStateManager& mgr) {
|
||||
SetLinkedObjectAlpha(objAlpha, mgr);
|
||||
}
|
||||
|
||||
rstl::optional<zeus::CAABox> CScriptDamageableTrigger::GetTouchBounds() const {
|
||||
std::optional<zeus::CAABox> CScriptDamageableTrigger::GetTouchBounds() const {
|
||||
if (x30_24_active && x300_24_notOccluded)
|
||||
return {zeus::CAABox(x14c_bounds.min + GetTranslation(), x14c_bounds.max + GetTranslation())};
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user