From 5bfdb4312f232ffa8513e31cc9395fea10eb0967 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Wed, 23 Sep 2020 17:38:47 -0700 Subject: [PATCH] Fix incorrect zMomentum usage in CScriptActor --- Runtime/World/CScriptActor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/World/CScriptActor.cpp b/Runtime/World/CScriptActor.cpp index 5fa39aaa4..fc1ef8e69 100644 --- a/Runtime/World/CScriptActor.cpp +++ b/Runtime/World/CScriptActor.cpp @@ -43,7 +43,7 @@ CScriptActor::CScriptActor(TUniqueId uid, std::string_view name, const CEntityIn x64_modelData->EnableLooping(looping); } - x150_momentum = zeus::CVector3f(0.f, 0.f, zMomentum); + x150_momentum = zeus::CVector3f(0.f, 0.f, -zMomentum); } void CScriptActor::Accept(IVisitor& visitor) { visitor.Visit(this); }