[Scummvm-cvs-logs] scummvm master -> e432d0a83fb68c175ed7aaffe673bdf7ac4b762c

wjp wjp at usecode.org
Tue Aug 27 00:42:14 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:
e432d0a83f WINTERMUTE: Remove duplicate code


Commit: e432d0a83fb68c175ed7aaffe673bdf7ac4b762c
    https://github.com/scummvm/scummvm/commit/e432d0a83fb68c175ed7aaffe673bdf7ac4b762c
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2013-08-26T15:32:24-07:00

Commit Message:
WINTERMUTE: Remove duplicate code

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 382f506..14767aa 100644
--- a/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp
+++ b/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp
@@ -421,8 +421,6 @@ bool BaseSurfaceOSystem::drawSprite(int x, int y, Rect32 *rect, Rect32 *newRect,
 	if (newRect) {
 		position.top = y;
 		position.left = x;
-		position.right = x + newRect->width();
-		position.bottom = y + newRect->height();
 		position.setWidth(newRect->width());
 		position.setHeight(newRect->height());
 	} else {






More information about the Scummvm-git-logs mailing list