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

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;