[Scummvm-cvs-logs] SF.net SVN: scummvm: [32188] scummvm/trunk/engines/made/scriptfuncs.cpp

john_doe at users.sourceforge.net john_doe at users.sourceforge.net
Mon May 19 23:32:37 CEST 2008


Revision: 32188
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32188&view=rev
Author:   john_doe
Date:     2008-05-19 14:32:37 -0700 (Mon, 19 May 2008)

Log Message:
-----------
RtZ: Fixed a bug where sounds were cut off prematurely.

Modified Paths:
--------------
    scummvm/trunk/engines/made/scriptfuncs.cpp

Modified: scummvm/trunk/engines/made/scriptfuncs.cpp
===================================================================
--- scummvm/trunk/engines/made/scriptfuncs.cpp	2008-05-19 21:22:59 UTC (rev 32187)
+++ scummvm/trunk/engines/made/scriptfuncs.cpp	2008-05-19 21:32:37 UTC (rev 32188)
@@ -188,7 +188,8 @@
 }
 
 int16 ScriptFunctions::sfShowPage(int16 argc, int16 *argv) {
-	_vm->_mixer->stopHandle(_audioStreamHandle);
+ 	if (_vm->getGameID() != GID_RTZ)
+		_vm->_mixer->stopHandle(_audioStreamHandle);
 	_vm->_screen->show();
 	return 0;
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list