[Scummvm-cvs-logs] SF.net SVN: scummvm:[40428] scummvm/trunk/engines/kyra/wsamovie.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun May 10 19:49:21 CEST 2009


Revision: 40428
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40428&view=rev
Author:   lordhoto
Date:     2009-05-10 17:49:21 +0000 (Sun, 10 May 2009)

Log Message:
-----------
Oops typo.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/wsamovie.cpp

Modified: scummvm/trunk/engines/kyra/wsamovie.cpp
===================================================================
--- scummvm/trunk/engines/kyra/wsamovie.cpp	2009-05-10 17:33:31 UTC (rev 40427)
+++ scummvm/trunk/engines/kyra/wsamovie.cpp	2009-05-10 17:49:21 UTC (rev 40428)
@@ -390,7 +390,7 @@
 			if (palBuf)
 				_vm->screen()->loadPalette(wsaData + 8 + ((_numFrames << 2) & 0xFFFF), palBuf, 0x30);
 		}
-		
+	
 		_flags |= WF_XOR;
 	}
 
@@ -428,7 +428,7 @@
 		wsaData += 4;
 	}
 
-	for (int i = 0; i < _numFrames; ++i)
+	for (int i = 1; i < _numFrames; ++i)
 		_frameOffsTable[_numFrames] -= frameDataOffs;
 
 	// WSA movies without last frame offset need special treatment


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list