From c25fb335fd38037e3b3953f1995c30db92bbe783 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sat, 7 Jan 2023 22:49:22 +1100 Subject: [PATCH] - SW: Restore lost `SetAngleFromChange(actor)` call from previous commit. --- source/games/sw/src/weapon.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/games/sw/src/weapon.cpp b/source/games/sw/src/weapon.cpp index ec25fe532..11a127165 100644 --- a/source/games/sw/src/weapon.cpp +++ b/source/games/sw/src/weapon.cpp @@ -8327,6 +8327,7 @@ bool SlopeBounce(DSWActor* actor, bool* hit_wall) // reflection code double k = actor->user.change.dot(normal) / normal.LengthSquared(); actor->user.change -= k * normal; + SetAngleFromChange(actor); return true; }