aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/sci.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index e9e16c8262..91eeac3a21 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -187,6 +187,9 @@ Common::Error SciEngine::run() {
}
*/
+ // Reset, so that error()s before SoundCommandParser is initialized wont cause a crash
+ _soundCmd = NULL;
+
// Add the after market GM patches for the specified game, if they exist
_resMan->addNewGMPatch(_gameId);
_gameObj = _resMan->findGameObject();