2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-05 17:55:53 +00:00

CMetaree: Fixes from decomp

This commit is contained in:
Luke Street 2022-10-29 11:05:16 -04:00
parent 91ae3a2295
commit 45e2acdd0e

View File

@ -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());
SetMomentumWR({0.f, 0.f, -GetGravityConstant() * GetMass()});
SetTranslation(GetTranslation());
SetTransform(zeus::CTransform::Translate(GetTranslation()));
x5a8_ = 0;
} else if (msg == EStateMsg::Update) {
if (x5a8_ != 0) {