mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-05 07:55:52 +00:00
CDrone: Death fixes
This commit is contained in:
parent
8e18904442
commit
995f3bb356
@ -441,6 +441,7 @@ void CDrone::Death(CStateManager& mgr, const zeus::CVector3f& direction, EScript
|
|||||||
SetTransform(zeus::lookAt(GetTranslation(), GetTranslation() - direction) *
|
SetTransform(zeus::lookAt(GetTranslation(), GetTranslation() - direction) *
|
||||||
zeus::CTransform::RotateX(zeus::degToRad(45.f)));
|
zeus::CTransform::RotateX(zeus::degToRad(45.f)));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (x450_bodyController->GetPercentageFrozen() > 0.f) {
|
if (x450_bodyController->GetPercentageFrozen() > 0.f) {
|
||||||
x450_bodyController->UnFreeze();
|
x450_bodyController->UnFreeze();
|
||||||
@ -448,7 +449,6 @@ void CDrone::Death(CStateManager& mgr, const zeus::CVector3f& direction, EScript
|
|||||||
|
|
||||||
x400_25_alive = false;
|
x400_25_alive = false;
|
||||||
SendScriptMsgs(state, mgr, EScriptObjectMessage::None);
|
SendScriptMsgs(state, mgr, EScriptObjectMessage::None);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CDrone::KnockBack(const zeus::CVector3f& backVec, CStateManager& mgr, const CDamageInfo& info, EKnockBackType type,
|
void CDrone::KnockBack(const zeus::CVector3f& backVec, CStateManager& mgr, const CDamageInfo& info, EKnockBackType type,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user