[Scummvm-cvs-logs] CVS: scummvm/gob draw.cpp,1.13.2.2,1.13.2.3

Eugene Sandulenko sev at users.sourceforge.net
Fri Jan 27 06:16:03 CET 2006


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

Modified Files:
      Tag: branch-0-8-0
	draw.cpp 
Log Message:
Backport fix for jumbling cursor


Index: draw.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gob/draw.cpp,v
retrieving revision 1.13.2.2
retrieving revision 1.13.2.3
diff -u -d -r1.13.2.2 -r1.13.2.3
--- draw.cpp	18 Jan 2006 18:07:27 -0000	1.13.2.2
+++ draw.cpp	27 Jan 2006 14:15:23 -0000	1.13.2.3
@@ -266,11 +266,6 @@
 		return;
 
 	draw_cursorIndex = -1;
-	if (draw_cursorX + draw_cursorWidth > 320)
-		draw_cursorWidth = 320 - draw_cursorX;
-
-	if (draw_cursorY + draw_cursorHeight > 200)
-		draw_cursorHeight = 200 - draw_cursorY;
 
 	if (draw_noInvalidated) {
 		vid_drawSprite(draw_backSurface, draw_frontSurface,





More information about the Scummvm-git-logs mailing list