- 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) while (!gQuitGame)
{ {
bool bDraw; bool bDraw;
D_ProcessEvents();
if (gGameStarted) if (gGameStarted)
{ {
char gameUpdate = false; char gameUpdate = false;

View File

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

View File

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