diff options
author | Willem Jan Palenstijn | 2013-08-27 00:32:24 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-08-27 00:32:24 +0200 |
commit | e432d0a83fb68c175ed7aaffe673bdf7ac4b762c (patch) | |
tree | 7c9de5188e9805a6e678a4887fa538223fdbd057 /engines | |
parent | e88ce8d9630265e54e2a70b1fd71cc1537a28268 (diff) | |
download | scummvm-rg350-e432d0a83fb68c175ed7aaffe673bdf7ac4b762c.tar.gz scummvm-rg350-e432d0a83fb68c175ed7aaffe673bdf7ac4b762c.tar.bz2 scummvm-rg350-e432d0a83fb68c175ed7aaffe673bdf7ac4b762c.zip |
WINTERMUTE: Remove duplicate code
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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 { |