mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 10:17:02 +00:00
CFlyingPirate: Small fixes
This commit is contained in:
@@ -446,7 +446,7 @@ void CChozoGhost::Attack(CStateManager& mgr, EStateMsg msg, float dt) {
|
||||
xfc_constantForce.zeroOut();
|
||||
} else if (msg == EStateMsg::Update) {
|
||||
TryCommand(mgr, pas::EAnimationState::MeleeAttack, &CPatterned::TryMeleeAttack, x67c_attackType);
|
||||
GetBodyController()->GetCommandMgr().SetTargetVector(mgr.GetPlayer().GetTranslation() - GetTranslation());
|
||||
GetBodyController()->GetCommandMgr().DeliverTargetVector(mgr.GetPlayer().GetTranslation() - GetTranslation());
|
||||
if (x67c_attackType != 2)
|
||||
FloatToLevel(x678_floorLevel, dt);
|
||||
} else if (msg == EStateMsg::Deactivate) {
|
||||
|
||||
Reference in New Issue
Block a user