diff --git a/source/core/gameinput.cpp b/source/core/gameinput.cpp index e93778e56..da97d5b05 100644 --- a/source/core/gameinput.cpp +++ b/source/core/gameinput.cpp @@ -137,9 +137,9 @@ 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; + currInput->fvel -= hidInput->mousemovey - hidInput->dpitch * keymove * scaleAdjustf; // process movement input. currInput->fvel += moving * keymove; diff --git a/source/core/inputstate.cpp b/source/core/inputstate.cpp index 3bda76595..5da4b3edd 100644 --- a/source/core/inputstate.cpp +++ b/source/core/inputstate.cpp @@ -213,7 +213,7 @@ void getHidInput(HIDInput* const hidInput) I_GetAxes(joyaxes); hidInput->dyaw += joyaxes[JOYAXIS_Yaw]; - hidInput->dpitch += -joyaxes[JOYAXIS_Pitch]; + hidInput->dpitch += joyaxes[JOYAXIS_Pitch]; hidInput->dforward += joyaxes[JOYAXIS_Forward] * .5f; hidInput->dside += joyaxes[JOYAXIS_Side] * .5f; }