[Scummvm-cvs-logs] SF.net SVN: scummvm: [21402] scummvm/trunk/engines/simon/vga.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Wed Mar 22 01:15:05 CET 2006


Revision: 21402
Author:   kirben
Date:     2006-03-22 01:14:28 -0800 (Wed, 22 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21402&view=rev

Log Message:
-----------
Fix regression in 2nd room of FF

Modified Paths:
--------------
    scummvm/trunk/engines/simon/vga.cpp
Modified: scummvm/trunk/engines/simon/vga.cpp
===================================================================
--- scummvm/trunk/engines/simon/vga.cpp	2006-03-22 08:56:10 UTC (rev 21401)
+++ scummvm/trunk/engines/simon/vga.cpp	2006-03-22 09:14:28 UTC (rev 21402)
@@ -768,9 +768,12 @@
 		}
 	}
 
-	state.width = state.draw_width = width;	/* cl */
+	state.width = state.draw_width = width;		/* cl */
 	state.height = state.draw_height = height;	/* ch */
 
+	state.x_skip = 0;				/* colums to skip = bh */
+	state.y_skip = 0;				/* rows to skip   = bl */
+
 	state.surf2_addr = getBackBuf();
 	state.surf2_pitch = _dxSurfacePitch;
 
@@ -795,9 +798,6 @@
 		state->draw_width = state->width * 2;
 	} 
 
-	state->x_skip = 0;				/* colums to skip = bh */
-	state->y_skip = 0;				/* rows to skip   = bl */
-
 	cur = state->x;
 	if (cur < 0) {
 		do {


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