From 25e0b9a073fb2d2e4bdb29fe77701d7b5f8d3d24 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Tue, 11 Oct 2022 16:21:12 +1100 Subject: [PATCH] - SW: Pitch-adjusted velocity for `InitTracerUzi()`. --- source/games/sw/src/weapon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/sw/src/weapon.cpp b/source/games/sw/src/weapon.cpp index 79fe5f3a6..5a625093d 100644 --- a/source/games/sw/src/weapon.cpp +++ b/source/games/sw/src/weapon.cpp @@ -15260,7 +15260,7 @@ int InitTracerUzi(PLAYER* pp) return 0; } - actorNew->vel.Z = pp->horizon.horiz.Tan() * actorNew->vel.X; + setFreeAimVelocity(actorNew->vel.X, actorNew->vel.Z, pp->horizon.horiz, actorNew->vel.X); plActor->clipdist = oclipdist;