From df0d21a03e93dcd702cda156844cf386c0c210b7 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sun, 13 Dec 2020 12:09:26 -0800 Subject: [PATCH] Fix Metroid Prime essence --- Runtime/MP1/World/CMetroidPrimeEssence.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Runtime/MP1/World/CMetroidPrimeEssence.cpp b/Runtime/MP1/World/CMetroidPrimeEssence.cpp index 4af3b9fb1..e90e8a1fd 100644 --- a/Runtime/MP1/World/CMetroidPrimeEssence.cpp +++ b/Runtime/MP1/World/CMetroidPrimeEssence.cpp @@ -365,7 +365,12 @@ bool CMetroidPrimeEssence::HasPatrolPath(CStateManager& mgr, float dt) { return !x70e_31_ && CPatterned::HasPatrolPath(mgr, dt); } -bool CMetroidPrimeEssence::ShouldAttack(CStateManager& mgr, float dt) { return x70e_31_ && x70e_25_; } +bool CMetroidPrimeEssence::ShouldAttack(CStateManager& mgr, float dt) { + if (x70e_31_) { + return x70e_25_; + } + return true; +} bool CMetroidPrimeEssence::InPosition(CStateManager& mgr, float dt) { return (GetTranslation().z() - mgr.GetPlayer().GetTranslation().z()) > 0.25f;