mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +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;
|
lLocalButtons |= BUTTON(gamefunc_Open) << 2;
|
||||||
|
|
||||||
if (BUTTON(gamefunc_Open)) {
|
|
||||||
int breakme = 123;
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO ExecRecord(&sPlayerInput[nLocalPlayer], sizeof(PlayerInput));
|
// TODO ExecRecord(&sPlayerInput[nLocalPlayer], sizeof(PlayerInput));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -140,6 +140,9 @@ fixed droll;
|
||||||
void PlayerInterruptKeys()
|
void PlayerInterruptKeys()
|
||||||
{
|
{
|
||||||
ControlInfo info;
|
ControlInfo info;
|
||||||
|
CONTROL_ProcessBinds();
|
||||||
|
memset(&info, 0, sizeof(ControlInfo)); // this is done within CONTROL_GetInput() anyway
|
||||||
|
CONTROL_GetInput(&info);
|
||||||
|
|
||||||
if (PlayerList[nLocalPlayer].nHealth == 0)
|
if (PlayerList[nLocalPlayer].nHealth == 0)
|
||||||
{
|
{
|
||||||
|
@ -149,10 +152,6 @@ void PlayerInterruptKeys()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(&info, 0, sizeof(ControlInfo)); // this is done within CONTROL_GetInput() anyway
|
|
||||||
CONTROL_ProcessBinds();
|
|
||||||
CONTROL_GetInput(&info);
|
|
||||||
|
|
||||||
info.dyaw *= (lMouseSens >> 1) + 1;
|
info.dyaw *= (lMouseSens >> 1) + 1;
|
||||||
|
|
||||||
int nXVel, nYVel;
|
int nXVel, nYVel;
|
||||||
|
|
Loading…
Reference in a new issue