[Scummvm-cvs-logs] SF.net SVN: scummvm: [26784] scummvm/trunk/engines/agos/gfx.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue May 8 09:16:59 CEST 2007


Revision: 26784
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26784&view=rev
Author:   thebluegr
Date:     2007-05-08 00:16:58 -0700 (Tue, 08 May 2007)

Log Message:
-----------
Fix compilation with MSVC8

Modified Paths:
--------------
    scummvm/trunk/engines/agos/gfx.cpp

Modified: scummvm/trunk/engines/agos/gfx.cpp
===================================================================
--- scummvm/trunk/engines/agos/gfx.cpp	2007-05-08 05:39:50 UTC (rev 26783)
+++ scummvm/trunk/engines/agos/gfx.cpp	2007-05-08 07:16:58 UTC (rev 26784)
@@ -619,7 +619,7 @@
 	if (drawImage_clip(state) == 0)
 		return;
 
-	uint xoffs, yoffs;
+	uint xoffs = 0, yoffs = 0;
 	if (getGameType() == GType_ELVIRA1) {
 		//if (_windowNum != 2 && _windowNum != 3 && _windowNum != 6) {
 		//	xoffs = ((vlut[0] - _videoWindows[16]) * 2 + state->x) * 8;


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