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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Jul 26 19:13:29 CEST 2007


Revision: 28217
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28217&view=rev
Author:   thebluegr
Date:     2007-07-26 10:13:29 -0700 (Thu, 26 Jul 2007)

Log Message:
-----------
Only queue the IHNM company and title videos in the full version of IHNM, not the demo

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

Modified: scummvm/trunk/engines/saga/ihnm_introproc.cpp
===================================================================
--- scummvm/trunk/engines/saga/ihnm_introproc.cpp	2007-07-26 14:53:24 UTC (rev 28216)
+++ scummvm/trunk/engines/saga/ihnm_introproc.cpp	2007-07-26 17:13:29 UTC (rev 28217)
@@ -102,8 +102,11 @@
 
 	n_introscenes = ARRAYSIZE(IHNM_IntroList);
 
-	for (i = 0; i < n_introscenes; i++) {
-		_vm->_scene->queueScene(&IHNM_IntroList[i]);
+	// Queue the company and title videos for the full version of IHNM
+	if (_vm->getGameId() != GID_IHNM_DEMO) {
+		for (i = 0; i < n_introscenes; i++) {
+			_vm->_scene->queueScene(&IHNM_IntroList[i]);
+		}
 	}
 
 	firstScene.loadFlag = kLoadBySceneNumber;


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