mirror of https://github.com/AxioDL/metaforce.git
CMetaree: Fixes from decomp
This commit is contained in:
parent
91ae3a2295
commit
45e2acdd0e
|
@ -87,7 +87,7 @@ void CMetaree::Flee(CStateManager& mgr, EStateMsg msg, float) {
|
||||||
ApplyImpulseWR(5.f * (GetMass() * (x590_projectileDelta * zeus::CVector3f{1.f, 1.f, 0.f})), zeus::CAxisAngle());
|
ApplyImpulseWR(5.f * (GetMass() * (x590_projectileDelta * zeus::CVector3f{1.f, 1.f, 0.f})), zeus::CAxisAngle());
|
||||||
|
|
||||||
SetMomentumWR({0.f, 0.f, -GetGravityConstant() * GetMass()});
|
SetMomentumWR({0.f, 0.f, -GetGravityConstant() * GetMass()});
|
||||||
SetTranslation(GetTranslation());
|
SetTransform(zeus::CTransform::Translate(GetTranslation()));
|
||||||
x5a8_ = 0;
|
x5a8_ = 0;
|
||||||
} else if (msg == EStateMsg::Update) {
|
} else if (msg == EStateMsg::Update) {
|
||||||
if (x5a8_ != 0) {
|
if (x5a8_ != 0) {
|
||||||
|
|
Loading…
Reference in New Issue