mirror of https://github.com/AxioDL/metaforce.git
Fix Metroid Prime essence
This commit is contained in:
parent
b59bf39924
commit
df0d21a03e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue