- Fix pitch direction for controller input.

This commit is contained in:
Mitchell Richters 2022-12-15 08:42:43 +11:00 committed by Christoph Oelckers
parent 0716f822f8
commit 4a94078d9f

View file

@ -147,7 +147,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;