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

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


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

Modified Files:
	script_v90he.cpp 
Log Message:

Nevermind, only o_getObjectImageX/Y needed adjustment.


Index: script_v90he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v90he.cpp,v
retrieving revision 2.212
retrieving revision 2.213
diff -u -d -r2.212 -r2.213
--- script_v90he.cpp	4 Apr 2005 14:51:42 -0000	2.212
+++ script_v90he.cpp	4 Apr 2005 14:57:28 -0000	2.213
@@ -2089,13 +2089,13 @@
 		if (_heObjectNum == -1)
 			push(0);
 		else
-			push(_objs[_heObjectNum].width / 8);
+			push(_objs[_heObjectNum].width);
 		break;
 	case 1:
 		if (_heObjectNum == -1)
 			push(0);
 		else
-			push(_objs[_heObjectNum].height / 8);
+			push(_objs[_heObjectNum].height);
 		break;
 	case 4:
 		push(getObjectImageCount(_heObject));
@@ -2104,13 +2104,13 @@
 		if (_heObjectNum == -1)
 			push(0);
 		else
-			push(_objs[_heObjectNum].x_pos / 8);
+			push(_objs[_heObjectNum].x_pos);
 		break;
 	case 7:
 		if (_heObjectNum == -1)
 			push(0);
 		else
-			push(_objs[_heObjectNum].y_pos / 8);
+			push(_objs[_heObjectNum].y_pos);
 		break;
 	case 20:
 		push(getState(_heObject));





More information about the Scummvm-git-logs mailing list