From 6e4e2b04ebcafcbaa08ac3bdf743f291df43ceba Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Thu, 15 Dec 2022 08:42:43 +1100 Subject: [PATCH] - Fix pitch direction for controller input. --- source/core/gameinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/gameinput.cpp b/source/core/gameinput.cpp index d962f8d44..f3ae00708 100644 --- a/source/core/gameinput.cpp +++ b/source/core/gameinput.cpp @@ -138,7 +138,7 @@ void processMovement(InputPacket* const currInput, InputPacket* const inputBuffe // process player pitch input. if (!(inputBuffer->actions & SB_AIMMODE)) - currInput->horz += hidInput->mouseturny - hidInput->dpitch * hidspeed * scaleAdjustf; + currInput->horz += hidInput->mouseturny + hidInput->dpitch * hidspeed * scaleAdjustf; else currInput->fvel -= hidInput->mousemovey + hidInput->dpitch * keymove * scaleAdjustf;