[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.300,1.301

Travis Howell kirben at users.sourceforge.net
Sun Feb 15 19:16:01 CET 2004


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

Modified Files:
	script_v6.cpp 
Log Message:

Update comment
Remove duplicate code


Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.300
retrieving revision 1.301
diff -u -d -r1.300 -r1.301
--- script_v6.cpp	15 Feb 2004 03:53:03 -0000	1.300
+++ script_v6.cpp	16 Feb 2004 03:08:17 -0000	1.301
@@ -850,10 +850,7 @@
 	int state = pop();
 	int obj = pop();
 
-	// FIXME: Why is the following here? Is it based on disassembly, or was
-	// it simply added to work around a bug (in ScummVM or scripts) ?
-	// In either case, the answer should be put into a comment (replacing this
-	// one, of course :-)
+	// This is based on disassembly
 	if (state == 0)
 		state = 1;
 
@@ -2601,11 +2598,6 @@
 		}
 	} else {
 		switch (args[0]) {
-		case 1:
-			// Used to restore images when decorating cake in
-			// Fatty Bear's Birthday Surprise
-			warning("o6_kernelSetFunctions: stub1()");
-			break;
 		case 3:
 			warning("o6_kernelSetFunctions: nothing in 3");
 			break;
@@ -2711,12 +2703,6 @@
 	getStackList(args, ARRAYSIZE(args));
 
 	switch (args[0]) {
-	case 1:
-		// Used to store images when decorating cake in
-		// Fatty Bear's Birthday Surprise
-		warning("o6_kernelGetFunctions: stub1()");
-		push(0);
-		break;
 	case 113:
 		// This is used for the Sam & Max paint-by-numbers mini-game
 		// to find out what color to change. I think that what we have





More information about the Scummvm-git-logs mailing list