mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-15 16:30:45 +00:00
- Fix pitch direction for controller input.
This commit is contained in:
parent
0716f822f8
commit
4a94078d9f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue