mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 04:16:34 +00:00
SUPERNOVA: Stop any playing sound before loading a savegame
This fixes for exemple loading a savegame from the Museum in part 2 after triggering the alarm but before being caught. Before this commit the alarm would continue to play after loading the savegame.
This commit is contained in:
parent
2999d77dd8
commit
71e0f58775
@ -697,6 +697,9 @@ bool SupernovaEngine::loadGame(int slot) {
|
||||
if (slot < 0)
|
||||
return false;
|
||||
|
||||
// Stop any sound currently playing.
|
||||
_sound->stop();
|
||||
|
||||
// Make sure no message is displayed as this would otherwise delay the
|
||||
// switch to the new location until a mouse click.
|
||||
removeMessage();
|
||||
|
Loading…
x
Reference in New Issue
Block a user