[Scummvm-cvs-logs] CVS: scummvm/sky debug.cpp,1.14,1.15

Joost Peters joostp at users.sourceforge.net
Fri Oct 22 11:46:03 CEST 2004


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18267/sky

Modified Files:
	debug.cpp 
Log Message:
correct music/fx for section 6


Index: debug.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/debug.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- debug.cpp	22 Oct 2004 18:37:42 -0000	1.14
+++ debug.cpp	22 Oct 2004 18:45:35 -0000	1.15
@@ -1469,7 +1469,7 @@
 	int section = atoi(argv[1]);
 	
 	if (section >= 0 && section <= 6) {
-		_logic->fnEnterSection(section % 6, 0, 0);
+		_logic->fnEnterSection(section == 6 ? 4 : section, 0, 0);
 		_logic->fnAssignBase(ID_FOSTER, baseId[section], 0);
 		SkyEngine::fetchCompact(ID_FOSTER)->extCompact->megaSet = 0;
 	} else {





More information about the Scummvm-git-logs mailing list