aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2012-12-02 15:19:49 +0200
committerFilippos Karapetis2012-12-02 15:20:41 +0200
commited6bc0a13dea0abee56182bc9ff0cd616942fd65 (patch)
tree9ac2243bcacc1146ffb6667f71946f9fdae174f8 /engines
parentd54df324836bfdc2dac2e5a5b81682076d8e75bb (diff)
downloadscummvm-rg350-ed6bc0a13dea0abee56182bc9ff0cd616942fd65.tar.gz
scummvm-rg350-ed6bc0a13dea0abee56182bc9ff0cd616942fd65.tar.bz2
scummvm-rg350-ed6bc0a13dea0abee56182bc9ff0cd616942fd65.zip
SCI: Resync audio options when a game is restarted (bug #3589453)
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sci.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index 118f7d9b33..2fa992e544 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -683,9 +683,8 @@ void SciEngine::runGame() {
if (DebugMan.isDebugChannelEnabled(kDebugLevelOnStartup))
_console->attach();
- _gamestate->_syncedAudioOptions = false;
-
do {
+ _gamestate->_syncedAudioOptions = false;
_gamestate->_executionStackPosChanged = false;
run_vm(_gamestate);
exitGame();