From cc3551dcaa64ece53c62fb2d20142a940ea3767d Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Mon, 7 Sep 2020 05:19:49 +1000 Subject: [PATCH] - SW: Ensure player's fvel/svel is calculated using `q16ang`, and not `camq16ang`. Fixes #328, again. --- source/sw/src/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/sw/src/input.cpp b/source/sw/src/input.cpp index 1c1f620ab..68f08ac84 100644 --- a/source/sw/src/input.cpp +++ b/source/sw/src/input.cpp @@ -324,7 +324,7 @@ void GameInterface::GetInput(InputPacket *packet, ControlInfo* const hidInput) if (packet) { - auto const ang = FixedToInt(pp->camq16ang); + auto const ang = FixedToInt(pp->q16ang); *packet = loc;