Remove more busyloops.
This commit is contained in:
parent
bb9ba4da28
commit
f46bbcef69
|
@ -229,7 +229,7 @@ int mainGameLoop()
|
|||
while (engine.paused)
|
||||
{
|
||||
engine.done = checkPauseRequest();
|
||||
graphics.updateScreen();
|
||||
graphics.delayFrame();
|
||||
}
|
||||
|
||||
if ((currentGame.area == 24) && (engine.addAliens > -1))
|
||||
|
|
|
@ -791,7 +791,7 @@ void missionBriefScreen()
|
|||
|
||||
while (true)
|
||||
{
|
||||
graphics.updateScreen();
|
||||
graphics.delayFrame();
|
||||
getPlayerInput();
|
||||
if ((engine.keyState[SDLK_LCTRL]) || (engine.keyState[SDLK_RCTRL]))
|
||||
break;
|
||||
|
@ -893,7 +893,7 @@ void missionFinishedScreen()
|
|||
|
||||
while (true)
|
||||
{
|
||||
graphics.updateScreen();
|
||||
graphics.delayFrame();
|
||||
getPlayerInput();
|
||||
if ((engine.keyState[SDLK_LCTRL]) || (engine.keyState[SDLK_RCTRL]))
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue