[Scummvm-cvs-logs] CVS: scummvm/scumm verbs.cpp,1.26,1.27

Max Horn fingolfin at users.sourceforge.net
Mon Apr 7 08:52:16 CEST 2003


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

Modified Files:
	verbs.cpp 
Log Message:
removed -1's in image verb code: a) the original code doesn't have these b) it's not clear why they were added c) this should fix the distaff in LoomCD

Index: verbs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/verbs.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- verbs.cpp	29 Mar 2003 20:48:57 -0000	1.26
+++ verbs.cpp	7 Apr 2003 15:51:37 -0000	1.27
@@ -262,8 +262,8 @@
 	}
 
 	vst = &_verbs[verb];
-	vst->right = vst->x + imgw * 8 - 1;
-	vst->bottom = vst->y + imgh * 8 - 1;
+	vst->right = vst->x + imgw * 8;
+	vst->bottom = vst->y + imgh * 8;
 	vst->oldleft = vst->x;
 	vst->oldright = vst->right;
 	vst->oldtop = vst->y;





More information about the Scummvm-git-logs mailing list