[Scummvm-cvs-logs] CVS: scummvm/scumm script_v8.cpp,2.161,2.162

Jonathan Gray khalek at users.sourceforge.net
Wed May 21 00:14:17 CEST 2003


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

Modified Files:
	script_v8.cpp 
Log Message:
don't error out here to prevent a crash, is the check in softUserputon actually valid here?

Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.161
retrieving revision 2.162
diff -u -d -r2.161 -r2.162
--- script_v8.cpp	20 May 2003 20:42:28 -0000	2.161
+++ script_v8.cpp	21 May 2003 07:13:52 -0000	2.162
@@ -796,8 +796,9 @@
 		break;
 	case 0xDE:		// SO_CURSOR_SOFT_ON Turn soft cursor on
 		_cursor.state++;
+			// FIXME is this check right?
 		if (_cursor.state > 1)
-			error("Cursor state greater than 1 in script");
+			warning("Cursor state %d greater than 1 in script", _cursor.state);
 		verbMouseOver(0);
 		break;
 	case 0xDF:		// SO_CURSOR_SOFT_OFF Turn soft cursor off





More information about the Scummvm-git-logs mailing list