[Scummvm-cvs-logs] SF.net SVN: scummvm: [28341] scummvm/trunk/engines/saga/rscfile.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Jul 30 23:17:15 CEST 2007


Revision: 28341
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28341&view=rev
Author:   thebluegr
Date:     2007-07-30 14:17:15 -0700 (Mon, 30 Jul 2007)

Log Message:
-----------
The interactive part of the IHNM demo loads music normally, like the full version, so only load music manually when songTableID is 0

Modified Paths:
--------------
    scummvm/trunk/engines/saga/rscfile.cpp

Modified: scummvm/trunk/engines/saga/rscfile.cpp
===================================================================
--- scummvm/trunk/engines/saga/rscfile.cpp	2007-07-30 21:14:57 UTC (rev 28340)
+++ scummvm/trunk/engines/saga/rscfile.cpp	2007-07-30 21:17:15 UTC (rev 28341)
@@ -683,7 +683,7 @@
 
 	_vm->_anim->loadCutawayList(resourcePointer, resourceLength);
 
-	if (_vm->getGameId() != GID_IHNM_DEMO) {
+	if (_metaResource.songTableID > 0) {
 		_vm->_resource->loadResource(resourceContext, _metaResource.songTableID, resourcePointer, resourceLength);
 
 		if (resourceLength == 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