aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobia Tesan2013-07-15 21:55:30 +0200
committerTobia Tesan2013-08-01 00:06:41 +0200
commit06ec0067665c4aa2369ea0b3b451ca0e7b2951c1 (patch)
tree67ed7a964390ce9a68f32adb0578070a83159d8c
parent286b1d11ca798249d412adb52e453404de7b727e (diff)
downloadscummvm-rg350-06ec0067665c4aa2369ea0b3b451ca0e7b2951c1.tar.gz
scummvm-rg350-06ec0067665c4aa2369ea0b3b451ca0e7b2951c1.tar.bz2
scummvm-rg350-06ec0067665c4aa2369ea0b3b451ca0e7b2951c1.zip
WINTERMUTE: Remove redeclaration in render_ticket.cpp
-rw-r--r--engines/wintermute/base/gfx/osystem/render_ticket.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/base/gfx/osystem/render_ticket.cpp b/engines/wintermute/base/gfx/osystem/render_ticket.cpp
index d510d97dd1..7f141aa460 100644
--- a/engines/wintermute/base/gfx/osystem/render_ticket.cpp
+++ b/engines/wintermute/base/gfx/osystem/render_ticket.cpp
@@ -68,11 +68,11 @@ RenderTicket::RenderTicket(BaseSurfaceOSystem *owner, const Graphics::Surface *s
_surface = nullptr;
if (transform._angle != DEFAULT_ANGLE) { // Make sure comparison-tickets get the correct width
- Rect32 dstRect;
+ Rect32 newDstRect;
Point32 newHotspot;
- dstRect = TransformTools::newRect(_srcRect, transform, &newHotspot);
- _dstRect.setWidth(dstRect.right-dstRect.left);
- _dstRect.setHeight(dstRect.bottom-dstRect.top);
+ newDstRect = TransformTools::newRect(_srcRect, transform, &newHotspot);
+ _dstRect.setWidth(newDstRect.right - newDstRect.left);
+ _dstRect.setHeight(newDstRect.bottom - newDstRect.top);
}
}
}