aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2013-10-06 23:16:52 +0200
committerWillem Jan Palenstijn2013-10-06 23:17:05 +0200
commit2b926cbe48ad1cac3196cf845a1579dfb29ee498 (patch)
tree8e7c9619cfc37fbd0613f749f308d45e9a2f0eb2 /engines
parent8b774de1ea096fdc29c2eae29ca7d460b58569c8 (diff)
downloadscummvm-rg350-2b926cbe48ad1cac3196cf845a1579dfb29ee498.tar.gz
scummvm-rg350-2b926cbe48ad1cac3196cf845a1579dfb29ee498.tar.bz2
scummvm-rg350-2b926cbe48ad1cac3196cf845a1579dfb29ee498.zip
WINTERMUTE: Fix typo causing tiled image corruption
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/base/gfx/osystem/render_ticket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/gfx/osystem/render_ticket.cpp b/engines/wintermute/base/gfx/osystem/render_ticket.cpp
index 0fb68bc819..1cd35e3b04 100644
--- a/engines/wintermute/base/gfx/osystem/render_ticket.cpp
+++ b/engines/wintermute/base/gfx/osystem/render_ticket.cpp
@@ -168,7 +168,7 @@ void RenderTicket::drawToSurface(Graphics::Surface *_targetSurface, Common::Rect
subRect.left = x;
subRect.top = y;
subRect.setWidth(w);
- subRect.setHeight(w);
+ subRect.setHeight(h);
if (subRect.intersects(*clipRect)) {
subRect.clip(*clipRect);