mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Make setinput work better in EVENT_PROCESSINPUT
git-svn-id: https://svn.eduke32.com/eduke32@6443 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
bdf81027ec
commit
ab79264047
1 changed files with 4 additions and 3 deletions
|
@ -4549,14 +4549,15 @@ void P_ProcessInput(int playerNum)
|
|||
if (g_player[playerNum].playerquitflag == 0)
|
||||
return;
|
||||
|
||||
DukePlayer_t *const pPlayer = g_player[playerNum].ps;
|
||||
spritetype *const pSprite = &sprite[pPlayer->i];
|
||||
uint32_t playerBits = g_player[playerNum].inputBits->bits;
|
||||
DukePlayer_t *const pPlayer = g_player[playerNum].ps;
|
||||
spritetype *const pSprite = &sprite[pPlayer->i];
|
||||
|
||||
++pPlayer->player_par;
|
||||
|
||||
VM_OnEvent(EVENT_PROCESSINPUT, pPlayer->i, playerNum);
|
||||
|
||||
uint32_t playerBits = g_player[playerNum].inputBits->bits;
|
||||
|
||||
if (pPlayer->cheat_phase > 0)
|
||||
playerBits = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue