From e432d0a83fb68c175ed7aaffe673bdf7ac4b762c Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Tue, 27 Aug 2013 00:32:24 +0200 Subject: WINTERMUTE: Remove duplicate code --- engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'engines') diff --git a/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp b/engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp index 382f50605a..14767aa067 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 { -- cgit v1.2.3