Fixed applying of speed factor to player

Part of https://forum.zdoom.org/viewtopic.php?t=56333
This commit is contained in:
alexey.lysiuk 2017-05-08 16:54:22 +03:00
parent 132ea30f0d
commit 60fe34349e
1 changed files with 1 additions and 1 deletions

View File

@ -817,7 +817,7 @@ class PlayerPawn : Actor native
double factor = 1.;
for(let it = Inv; it != null; it = it.Inv)
{
factor *= Inv.GetSpeedFactor ();
factor *= it.GetSpeedFactor ();
}
forward *= factor;
side *= factor;