- Fix pitch direction for controller input.

This commit is contained in:
Mitchell Richters 2022-12-15 08:42:43 +11:00
parent d5414da096
commit 6e4e2b04eb

View file

@ -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;