[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,1.43,1.44

Pawe? Ko?odziejski aquadran at users.sourceforge.net
Sun Oct 27 07:17:02 CET 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv758

Modified Files:
	gfx.cpp 
Log Message:
patch: #629413 - DOTT intro fix

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- gfx.cpp	27 Oct 2002 10:31:07 -0000	1.43
+++ gfx.cpp	27 Oct 2002 15:16:49 -0000	1.44
@@ -898,6 +898,9 @@
 		if (vs->scrollable)
 			sx -= vs->xstart >> 3;
 
+		if (sx < 0)
+			goto next_iter;
+
 		if (sx >= _numStrips)
 			return;
 
@@ -993,6 +996,8 @@
 				}
 			}
 		}
+
+next_iter:
 		CHECK_HEAP;
 		x++;
 		stripnr++;





More information about the Scummvm-git-logs mailing list