[Scummvm-cvs-logs] CVS: scummvm/kyra wsamovie.cpp,1.19,1.20

Johannes Schickel lordhoto at users.sourceforge.net
Wed Jan 11 05:54:03 CET 2006


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

Modified Files:
	wsamovie.cpp 
Log Message:
Fixed bug # 1401416.


Index: wsamovie.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/kyra/wsamovie.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- wsamovie.cpp	7 Jan 2006 23:55:50 -0000	1.19
+++ wsamovie.cpp	11 Jan 2006 13:53:16 -0000	1.20
@@ -121,7 +121,7 @@
 
 void WSAMovieV1::displayFrame(int frameNum) {
 	debug(9, "WSAMovieV1::displayFrame(%d)", frameNum);
-	if (frameNum > _numFrames || !_opened)
+	if (frameNum >= _numFrames || !_opened)
 		return;
 
 	uint8 *dst;





More information about the Scummvm-git-logs mailing list