[Scummvm-cvs-logs] SF.net SVN: scummvm:[51206] scummvm/trunk/engines/groovie/vdx.cpp

jvprat at users.sourceforge.net jvprat at users.sourceforge.net
Fri Jul 23 15:05:16 CEST 2010


Revision: 51206
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51206&view=rev
Author:   jvprat
Date:     2010-07-23 13:05:16 +0000 (Fri, 23 Jul 2010)

Log Message:
-----------
GROOVIE: Fix compilation.

Modified Paths:
--------------
    scummvm/trunk/engines/groovie/vdx.cpp

Modified: scummvm/trunk/engines/groovie/vdx.cpp
===================================================================
--- scummvm/trunk/engines/groovie/vdx.cpp	2010-07-23 12:56:57 UTC (rev 51205)
+++ scummvm/trunk/engines/groovie/vdx.cpp	2010-07-23 13:05:16 UTC (rev 51206)
@@ -489,8 +489,9 @@
 	// Move the pointers to the beginning of the current block
 	int32 blockOff = _origX + _origY * imageWidth;
 	dest += blockOff;
+	byte *fgBuf;
 	if (_flagSeven) {
-		byte *fgBuf = (byte *)_fg->getBasePtr(0, 0) + offset + blockOff;
+		fgBuf = (byte *)_fg->getBasePtr(0, 0) + offset + blockOff;
 		//byte *bgBuf = (byte *)_bg->getBasePtr(0, 0) + offset + blockOff;
 	}
 


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