mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- call D_ProcessEvents in Blood's main loop.
This commit is contained in:
parent
63f4d82aeb
commit
aea6467d00
3 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -1224,7 +1224,6 @@ void GetInput()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
D_ProcessEvents();
|
|
||||||
if (numplayers == 1)
|
if (numplayers == 1)
|
||||||
{
|
{
|
||||||
setlocalplayerinput(p);
|
setlocalplayerinput(p);
|
||||||
|
|
Loading…
Reference in a new issue