[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.242,1.243

Travis Howell kirben at users.sourceforge.net
Mon Jan 5 06:40:02 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv30693/scumm

Modified Files:
	script_v6.cpp 
Log Message:

Had checks wrong way around, seems to work now.


Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.242
retrieving revision 1.243
diff -u -d -r1.242 -r1.243
--- script_v6.cpp	4 Jan 2004 15:31:34 -0000	1.242
+++ script_v6.cpp	5 Jan 2004 14:39:44 -0000	1.243
@@ -1780,7 +1780,7 @@
 	case 218:		
 		{
 			// TODO: this opcode is used in the putt-putt fun pack, in 'checkers" mini game
-			warning("o6_actorOps(): unimplemented opcode 218");
+			warning("o6_actorOps():218 partially unimplemented");
 
 			int top_actor = a->top;
 			int bottom_actor = a->bottom;
@@ -1792,10 +1792,10 @@
 			a->drawActorCostume();
 			a->needRedraw = false;
 
-			if (a->top > top_actor) {
+			if (a->top < top_actor) {
 				a->bottom = top_actor;
 			}
-			if (a->bottom < bottom_actor) {
+			if (a->bottom > bottom_actor) {
 				a->bottom = bottom_actor;
 			}
 		}





More information about the Scummvm-git-logs mailing list