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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon May 26 13:03:22 CEST 2008


Revision: 32280
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32280&view=rev
Author:   thebluegr
Date:     2008-05-26 04:03:21 -0700 (Mon, 26 May 2008)

Log Message:
-----------
Cleanup

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

Modified: scummvm/trunk/engines/saga/rscfile.cpp
===================================================================
--- scummvm/trunk/engines/saga/rscfile.cpp	2008-05-26 07:27:46 UTC (rev 32279)
+++ scummvm/trunk/engines/saga/rscfile.cpp	2008-05-26 11:03:21 UTC (rev 32280)
@@ -658,12 +658,8 @@
 static int metaResourceTableDemo[] = { 0, 0, 0, 0, 0, 0, 0, 285, 0 };
 
 void Resource::loadGlobalResources(int chapter, int actorsEntrance) {
-	if (chapter < 0) {
-		if (_vm->getGameId() != GID_IHNM_DEMO)
-			chapter = 8;
-		else
-			chapter = 7;
-	}
+	if (chapter < 0)
+		chapter = (_vm->getGameId() != GID_IHNM_DEMO) ? 8 : 7;
 
 	// TODO
 	//if (module.voiceLUT)


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