mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Fix level restart
This commit is contained in:
parent
0023ae625d
commit
a00d0f5986
2 changed files with 3 additions and 8 deletions
|
@ -111,10 +111,6 @@ void GetLocalInput()
|
|||
|
||||
lLocalButtons |= BUTTON(gamefunc_Open) << 2;
|
||||
|
||||
if (BUTTON(gamefunc_Open)) {
|
||||
int breakme = 123;
|
||||
}
|
||||
|
||||
// TODO ExecRecord(&sPlayerInput[nLocalPlayer], sizeof(PlayerInput));
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue