diff options
author | Torbjörn Andersson | 2005-11-12 15:25:22 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-11-12 15:25:22 +0000 |
commit | 6cfb37c441cf0f3d6d73948ddb445710ec656fdf (patch) | |
tree | 62a2bef66f00d22cde8074434afa00aa70b2ea01 /sword1/control.cpp | |
parent | fa5af9ce6d9560506ba02a49ce5ecec00af374ed (diff) | |
download | scummvm-rg350-6cfb37c441cf0f3d6d73948ddb445710ec656fdf.tar.gz scummvm-rg350-6cfb37c441cf0f3d6d73948ddb445710ec656fdf.tar.bz2 scummvm-rg350-6cfb37c441cf0f3d6d73948ddb445710ec656fdf.zip |
Stop sounds at control panel, otherwise any looping sounds will still be
playing. (For instance, when getting yourself killed on top of the train.)
svn-id: r19574
Diffstat (limited to 'sword1/control.cpp')
-rw-r--r-- | sword1/control.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sword1/control.cpp b/sword1/control.cpp index 13fa5c7243..ef296a9cb3 100644 --- a/sword1/control.cpp +++ b/sword1/control.cpp @@ -234,6 +234,7 @@ uint8 Control::runPanel(void) { _screenBuf = (uint8*)malloc(640 * 480); memset(_screenBuf, 0, 640 * 480); _system->copyRectToScreen(_screenBuf, 640, 0, 0, 640, 480); + _sound->quitScreen(); uint32 fontId = SR_FONT, redFontId = SR_REDFONT; if (SwordEngine::_systemVars.language == BS1_CZECH) { |