[Scummvm-cvs-logs] scummvm master -> 2271bf404cd4c66c4087478746c36d1c47d5e9fe

wjp wjp at usecode.org
Wed Oct 9 11:30:12 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2271bf404c WINTERMUTE: Remove superfluous assignments


Commit: 2271bf404cd4c66c4087478746c36d1c47d5e9fe
    https://github.com/scummvm/scummvm/commit/2271bf404cd4c66c4087478746c36d1c47d5e9fe
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2013-10-09T02:29:13-07:00

Commit Message:
WINTERMUTE: Remove superfluous assignments

Changed paths:
    engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp



diff --git a/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp
index 95f99a3..9ec8573 100644
--- a/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp
+++ b/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp
@@ -410,8 +410,6 @@ bool BaseSurfaceOSystem::drawSprite(int x, int y, Rect32 *rect, Rect32 *newRect,
 	srcRect.setHeight(rect->bottom - rect->top);
 
 	Common::Rect position;
-	position.left = x + transform._offset.x;
-	position.top = y + transform._offset.y;
 
 	if (newRect) {
 		position.top = y;






More information about the Scummvm-git-logs mailing list