- call D_ProcessEvents in Blood's main loop.

This commit is contained in:
Christoph Oelckers 2020-07-27 19:12:49 +02:00
parent 63f4d82aeb
commit aea6467d00
3 changed files with 1 additions and 3 deletions

View file

@ -1184,6 +1184,7 @@ RESTART:
while (!gQuitGame)
{
bool bDraw;
D_ProcessEvents();
if (gGameStarted)
{
char gameUpdate = false;

View file

@ -102,8 +102,6 @@ void ctrlGetInput(void)
GINPUT input = {};
D_ProcessEvents();
bool mouseaim = in_mousemode || buttonMap.ButtonDown(gamefunc_Mouse_Aiming);
if (!mouseaim) gInput.keyFlags.lookCenter = 1;

View file

@ -1224,7 +1224,6 @@ void GetInput()
return;
}
D_ProcessEvents();
if (numplayers == 1)
{
setlocalplayerinput(p);