diff --git a/source/exhumed/src/input.cpp b/source/exhumed/src/input.cpp index 75d8ccbf3..ae63dad01 100644 --- a/source/exhumed/src/input.cpp +++ b/source/exhumed/src/input.cpp @@ -111,10 +111,6 @@ void GetLocalInput() lLocalButtons |= BUTTON(gamefunc_Open) << 2; - if (BUTTON(gamefunc_Open)) { - int breakme = 123; - } - // TODO ExecRecord(&sPlayerInput[nLocalPlayer], sizeof(PlayerInput)); } diff --git a/source/exhumed/src/player.cpp b/source/exhumed/src/player.cpp index 900de6567..b590ef88c 100644 --- a/source/exhumed/src/player.cpp +++ b/source/exhumed/src/player.cpp @@ -140,6 +140,9 @@ fixed droll; void PlayerInterruptKeys() { ControlInfo info; + CONTROL_ProcessBinds(); + memset(&info, 0, sizeof(ControlInfo)); // this is done within CONTROL_GetInput() anyway + CONTROL_GetInput(&info); if (PlayerList[nLocalPlayer].nHealth == 0) { @@ -149,10 +152,6 @@ void PlayerInterruptKeys() return; } - memset(&info, 0, sizeof(ControlInfo)); // this is done within CONTROL_GetInput() anyway - CONTROL_ProcessBinds(); - CONTROL_GetInput(&info); - info.dyaw *= (lMouseSens >> 1) + 1; int nXVel, nYVel;