2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-14 12:06:09 +00:00

CFlyingPirate: Small fixes

This commit is contained in:
2020-03-13 16:22:39 -04:00
parent 1bcd0916ca
commit 26ae8beb74
8 changed files with 36 additions and 38 deletions

View File

@@ -708,7 +708,7 @@ void CBabygoth::FollowPattern(CStateManager& mgr, EStateMsg msg, float) {
CBCStepCmd(pas::EStepDirection::Backward, pas::EStepType::Normal));
} else if (x568_stateProg == 3) {
if (x450_bodyController->GetBodyStateInfo().GetCurrentStateId() == pas::EAnimationState::Step)
x450_bodyController->GetCommandMgr().SetTargetVector(mgr.GetPlayer().GetTranslation() - GetTranslation());
x450_bodyController->GetCommandMgr().DeliverTargetVector(mgr.GetPlayer().GetTranslation() - GetTranslation());
else
x568_stateProg = 4;
}