WINTERMUTE: Remove duplicate code

This commit is contained in:
Willem Jan Palenstijn 2013-08-27 00:32:24 +02:00
parent e88ce8d963
commit e432d0a83f

View File

@ -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 {