[Scummvm-cvs-logs] CVS: scummvm/sword1 control.cpp,1.68,1.69

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sat Nov 12 07:26:04 CET 2005


Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31097

Modified Files:
	control.cpp 
Log Message:
Stop sounds at control panel, otherwise any looping sounds will still be
playing. (For instance, when getting yourself killed on top of the train.)


Index: control.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/control.cpp,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- control.cpp	12 Nov 2005 09:14:07 -0000	1.68
+++ control.cpp	12 Nov 2005 15:25:22 -0000	1.69
@@ -234,6 +234,7 @@
 	_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) {





More information about the Scummvm-git-logs mailing list