From 323fe8c45bc9e602c7d8a043210e67811bab9d38 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 12 Jun 2013 11:17:41 +0300 Subject: NEVERHOOD: Stop all sounds before restoring / restarting This fixes the static heard when loading a saved game to a scene with music, when the current scene also has music --- engines/neverhood/gamemodule.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/neverhood/gamemodule.cpp') diff --git a/engines/neverhood/gamemodule.cpp b/engines/neverhood/gamemodule.cpp index 70450e2918..96e8cc13a6 100644 --- a/engines/neverhood/gamemodule.cpp +++ b/engines/neverhood/gamemodule.cpp @@ -411,6 +411,8 @@ void GameModule::checkRequests() { } if (_restoreGameRequested) { _restoreGameRequested = false; + _vm->_audioResourceMan->stopAllSounds(); + _vm->_soundMan->stopAllSounds(); delete _childObject; delete _prevChildObject; _childObject = NULL; -- cgit v1.2.3