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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Jul 28 03:03:55 CEST 2007


Revision: 28253
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28253&view=rev
Author:   thebluegr
Date:     2007-07-27 18:03:54 -0700 (Fri, 27 Jul 2007)

Log Message:
-----------
The IHNM demo uses the NULL panel

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

Modified: scummvm/trunk/engines/saga/scene.cpp
===================================================================
--- scummvm/trunk/engines/saga/scene.cpp	2007-07-28 00:40:04 UTC (rev 28252)
+++ scummvm/trunk/engines/saga/scene.cpp	2007-07-28 01:03:54 UTC (rev 28253)
@@ -589,10 +589,14 @@
 		_vm->_interface->addToInventory(IHNM_OBJ_PROFILE);
 		_vm->_interface->activate();
 
-		if (loadSceneParams->chapter == 8 || loadSceneParams->chapter == -1)
-			_vm->_interface->setMode(kPanelChapterSelection);
-		else
+		if (loadSceneParams->chapter == 8 || loadSceneParams->chapter == -1) {
+			if (_vm->getGameId() != GID_IHNM_DEMO)
+				_vm->_interface->setMode(kPanelChapterSelection);
+			else
+				_vm->_interface->setMode(kPanelNull);
+		} else {
 			_vm->_interface->setMode(kPanelMain);
+		}
 
 		_inGame = true;
 


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