mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- Fix pitch direction for controller input.
This commit is contained in:
parent
d5414da096
commit
6e4e2b04eb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue