[Scummvm-cvs-logs] SF.net SVN: scummvm:[50298] scummvm/trunk/engines/m4/mads_views.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Sat Jun 26 02:37:44 CEST 2010


Revision: 50298
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50298&view=rev
Author:   dreammaster
Date:     2010-06-26 00:37:44 +0000 (Sat, 26 Jun 2010)

Log Message:
-----------
Minor bugfix for correctly positioning where background sprites are drawn

Modified Paths:
--------------
    scummvm/trunk/engines/m4/mads_views.cpp

Modified: scummvm/trunk/engines/m4/mads_views.cpp
===================================================================
--- scummvm/trunk/engines/m4/mads_views.cpp	2010-06-26 00:36:43 UTC (rev 50297)
+++ scummvm/trunk/engines/m4/mads_views.cpp	2010-06-26 00:37:44 UTC (rev 50298)
@@ -158,11 +158,11 @@
 
 				if (slot.depth > 1) {
 					// Draw the frame with depth processing
-					_owner._bgSurface->copyFrom(frame, xp, yp, Common::Point(0, yOffset), slot.depth, 
+					_owner._bgSurface->copyFrom(frame, xp, yp, Common::Point(), slot.depth, 
 						_owner._depthSurface, 100, frame->getTransparencyIndex());
 				} else {
 					// No depth, so simply draw the image
-					frame->copyTo(_owner._bgSurface, xp, yp + yOffset, frame->getTransparencyIndex());
+					frame->copyTo(_owner._bgSurface, xp, yp, frame->getTransparencyIndex());
 				}
 			}
 		}


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