1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Clear achieved linear velocity on disabled avatars.

This commit is contained in:
Skoader
2012-11-11 23:48:51 +11:00
parent 3d14321f26
commit 79377e2b95

View File

@ -172,6 +172,8 @@ void plPhysicalControllerCore::IUpdate(int numSubSteps, hsScalar alpha)
}
else
{
fAchievedLinearVelocity.Set(0.0f, 0.0f, 0.0f);
// Update global location if in a subworld
const plCoordinateInterface* subworldCI = GetSubworldCI();
if (subworldCI)