[Scummvm-cvs-logs] CVS: scummvm/scumm script_v90he.cpp,2.211,2.212

kirben kirben at users.sourceforge.net
Mon Apr 4 07:52:16 CEST 2005


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

Modified Files:
	script_v90he.cpp 
Log Message:

Object width/height should be divded by 8 too.


Index: script_v90he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v90he.cpp,v
retrieving revision 2.211
retrieving revision 2.212
diff -u -d -r2.211 -r2.212
--- script_v90he.cpp	4 Apr 2005 11:41:15 -0000	2.211
+++ script_v90he.cpp	4 Apr 2005 14:51:42 -0000	2.212
@@ -2089,13 +2089,13 @@
 		if (_heObjectNum == -1)
 			push(0);
 		else
-			push(_objs[_heObjectNum].width);
+			push(_objs[_heObjectNum].width / 8);
 		break;
 	case 1:
 		if (_heObjectNum == -1)
 			push(0);
 		else
-			push(_objs[_heObjectNum].height);
+			push(_objs[_heObjectNum].height / 8);
 		break;
 	case 4:
 		push(getObjectImageCount(_heObject));





More information about the Scummvm-git-logs mailing list