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

kirben at users.sourceforge.net kirben at users.sourceforge.net
Tue May 15 09:14:12 CEST 2007


Revision: 26843
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26843&view=rev
Author:   kirben
Date:     2007-05-15 00:14:12 -0700 (Tue, 15 May 2007)

Log Message:
-----------
Ooops, the y offset in drawBackGround() should be based on state width too.

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

Modified: scummvm/trunk/engines/agos/gfx.cpp
===================================================================
--- scummvm/trunk/engines/agos/gfx.cpp	2007-05-15 07:08:24 UTC (rev 26842)
+++ scummvm/trunk/engines/agos/gfx.cpp	2007-05-15 07:14:12 UTC (rev 26843)
@@ -729,7 +729,7 @@
 		state->y_skip = 0;
 	}
 
-	src = state->srcPtr + (_screenWidth * state->y_skip) + (state->x_skip * 8);
+	src = state->srcPtr + (state->width * state->y_skip) + (state->x_skip * 8);
 	dst = state->surf_addr;
 
 	state->draw_width *= 2;


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