Don't resume the music when you press Escape during pause.
This commit is contained in:
parent
e3c2e2fddc
commit
d6f29b71b3
|
@ -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,6 +2473,7 @@ int game_mainLoop()
|
|||
game_delayFrame();
|
||||
}
|
||||
|
||||
if (!engine.done)
|
||||
audio_resumeMusic();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue