[Scummvm-cvs-logs] CVS: scummvm/scumm script_v5.cpp,1.81,1.82

Oliver Kiehl olki at users.sourceforge.net
Sat May 17 16:49:02 CEST 2003


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

Modified Files:
	script_v5.cpp 
Log Message:
make gcc 3.3 happy. a->scalex and a->scaley are of type char and cannot be greater 255


Index: script_v5.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v5.cpp,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- script_v5.cpp	16 May 2003 02:16:58 -0000	1.81
+++ script_v5.cpp	17 May 2003 23:46:03 -0000	1.82
@@ -499,8 +499,6 @@
 				a->scaley = getVarOrDirectByte(0x40);
 			}
 
-			if (a->scalex > 255 || a->scaley > 255)
-				error("Setting an bad actor scale!");
 			a->needRedraw = true;
 			a->needBgReset = true;
 			break;





More information about the Scummvm-git-logs mailing list