From 45e2acdd0efe36a277bee1b09b5e21a0fb9b2a58 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Sat, 29 Oct 2022 11:05:16 -0400 Subject: [PATCH] CMetaree: Fixes from decomp --- Runtime/MP1/World/CMetaree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/MP1/World/CMetaree.cpp b/Runtime/MP1/World/CMetaree.cpp index 2e220799d..ce17b1241 100644 --- a/Runtime/MP1/World/CMetaree.cpp +++ b/Runtime/MP1/World/CMetaree.cpp @@ -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) {