mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 20:40:39 +00:00
- Exhumed: Fix bad velocity zeroing from ece41ac84c
.
This commit is contained in:
parent
3edc1a5a5a
commit
4c5339274d
1 changed files with 1 additions and 1 deletions
|
@ -1121,7 +1121,7 @@ static void updatePlayerVelocity(Player* const pPlayer)
|
|||
|
||||
if (pPlayerActor->vel.XY().Length() < 0.09375 && !pPlayerActor->vel.XY().isZero())
|
||||
{
|
||||
pPlayerActor->vel.Zero();
|
||||
pPlayerActor->vel.XY().Zero();
|
||||
pPlayer->nIdxBobZ = 0;
|
||||
pPlayer->Angles.StrafeVel = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue