diff --git a/wadsrc/static/zscript/shared/player.txt b/wadsrc/static/zscript/shared/player.txt index 380ffd2d8..b799f98c2 100644 --- a/wadsrc/static/zscript/shared/player.txt +++ b/wadsrc/static/zscript/shared/player.txt @@ -812,9 +812,13 @@ class PlayerPawn : Actor native side *= SideMove2; } - if (!player.morphTics && Inv != NULL) + if (!player.morphTics) { - double factor = Inv.GetSpeedFactor (); + double factor = 1.; + for(let it = Inv; it != null; it = it.Inv) + { + factor *= Inv.GetSpeedFactor (); + } forward *= factor; side *= factor; }