mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 10:37:41 -04:00
Clear impact velocity on WalkingStrategy Reset.
Fixes landing behaviours incorrectly firing after a brain transition.
This commit is contained in:
@ -538,6 +538,8 @@ void plWalkingStrategy::AddContactNormals(hsVector3& vec)
|
||||
void plWalkingStrategy::Reset(bool newAge)
|
||||
{
|
||||
plMovementStrategy::Reset(newAge);
|
||||
fImpactVelocity.Set(0.0f, 0.0f, 0.0f);
|
||||
fImpactTime = 0.0f;
|
||||
if (newAge)
|
||||
{
|
||||
fTimeInAir = 0.0f;
|
||||
|
Reference in New Issue
Block a user