mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
Fixed applying of speed factor to player
Part of https://forum.zdoom.org/viewtopic.php?t=56333
This commit is contained in:
parent
132ea30f0d
commit
60fe34349e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue