From 69ded7eca88ce6e622f3f94138f67266d419a4c1 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Wed, 16 Sep 2020 00:42:44 -0400 Subject: [PATCH] Fix bitfield check in CPatterned::PathFind & update zeus (CVector3f::isZero fix) --- Runtime/World/CPatterned.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/World/CPatterned.cpp b/Runtime/World/CPatterned.cpp index 63a6ae2da..f78c7ad4e 100644 --- a/Runtime/World/CPatterned.cpp +++ b/Runtime/World/CPatterned.cpp @@ -712,7 +712,7 @@ void CPatterned::PathFind(CStateManager& mgr, EStateMsg msg, float dt) { } case EStateMsg::Update: { if (search->GetCurrentWaypoint() < search->GetWaypoints().size() - 1) { - if (x328_24_inPosition || x328_27_onGround) + if (x328_25_verticalMovement || x328_27_onGround) x401_24_pathOverCount += 1; zeus::CVector3f biasedPos = GetTranslation() + 0.3f * zeus::skUp; x2ec_reflectedDestPos = biasedPos - (x2e0_destPos - biasedPos);