Don't resume the music when you press Escape during pause.

This commit is contained in:
onpon4 2017-01-26 22:41:59 -05:00
parent e3c2e2fddc
commit d6f29b71b3
1 changed files with 2 additions and 2 deletions

View File

@ -2104,7 +2104,6 @@ static int game_checkPauseRequest()
if (engine.keyState[KEY_ESCAPE])
{
engine.paused = 0;
engine.done = 1;
player.shield = 0;
return 1;
}
@ -2474,7 +2473,8 @@ int game_mainLoop()
game_delayFrame();
}
audio_resumeMusic();
if (!engine.done)
audio_resumeMusic();
}
if ((game.area == MISN_MARS) && (engine.addAliens > -1))