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
This commit is contained in:
Torbjörn Andersson 2005-11-12 15:25:22 +00:00
parent fa5af9ce6d
commit 6cfb37c441

View File

@ -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) {