Fix bitfield check in CPatterned::PathFind & update zeus (CVector3f::isZero fix)

This commit is contained in:
Luke Street 2020-09-16 00:42:44 -04:00
parent 7d418581cf
commit 69ded7eca8
1 changed files with 1 additions and 1 deletions

View File

@ -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);