diff --git a/Runtime/World/CPlayer.cpp b/Runtime/World/CPlayer.cpp index 9dc483509..f1f2d5c05 100644 --- a/Runtime/World/CPlayer.cpp +++ b/Runtime/World/CPlayer.cpp @@ -1698,7 +1698,7 @@ void CPlayer::ProcessInput(const CFinalInput& input, CStateManager& mgr) { rstl::reserved_vector nearList; mgr.BuildColliderList(nearList, *this, expandedBounds); std::optional nonIntVec = - CGameCollision::FindNonIntersectingVector(mgr, cache, *this, *prim, nearList); + CGameCollision::FindNonIntersectingVector(mgr, cache, *this, tmpBox, nearList); if (nonIntVec) { x4a0_failsafeTest->Reset(); SetTranslation(GetTranslation() + *nonIntVec);