[Scummvm-cvs-logs] SF.net SVN: scummvm: [30479] scummvm/trunk/engines/scumm/scumm.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Mon Jan 14 00:44:52 CET 2008


Revision: 30479
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30479&view=rev
Author:   aquadran
Date:     2008-01-13 15:44:52 -0800 (Sun, 13 Jan 2008)

Log Message:
-----------
not need call refreshScripts in demo version of comi

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/scumm.cpp

Modified: scummvm/trunk/engines/scumm/scumm.cpp
===================================================================
--- scummvm/trunk/engines/scumm/scumm.cpp	2008-01-13 23:43:17 UTC (rev 30478)
+++ scummvm/trunk/engines/scumm/scumm.cpp	2008-01-13 23:44:52 UTC (rev 30479)
@@ -2122,8 +2122,8 @@
 	ScummEngine_v6::scummLoop_handleSound();
 	if (_imuseDigital) {
 		_imuseDigital->flushTracks();
-		// In CoMI and the full (non-demo) version of The Dig, also invoke IMuseDigital::refreshScripts
-		if ( ((_game.id == GID_DIG) && (!(_game.features & GF_DEMO))) || (_game.id == GID_CMI) )
+		// In CoMI and the Dig the full (non-demo) version invoke IMuseDigital::refreshScripts
+		if ((_game.id == GID_DIG || _game.id == GID_CMI) && !(_game.features & GF_DEMO))
 			_imuseDigital->refreshScripts();
 	}
 	if (_smixer) {


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