diff options
author | Willem Jan Palenstijn | 2013-10-06 23:16:52 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-10-06 23:17:05 +0200 |
commit | 2b926cbe48ad1cac3196cf845a1579dfb29ee498 (patch) | |
tree | 8e7c9619cfc37fbd0613f749f308d45e9a2f0eb2 /engines/wintermute/base/gfx/osystem | |
parent | 8b774de1ea096fdc29c2eae29ca7d460b58569c8 (diff) | |
download | scummvm-rg350-2b926cbe48ad1cac3196cf845a1579dfb29ee498.tar.gz scummvm-rg350-2b926cbe48ad1cac3196cf845a1579dfb29ee498.tar.bz2 scummvm-rg350-2b926cbe48ad1cac3196cf845a1579dfb29ee498.zip |
WINTERMUTE: Fix typo causing tiled image corruption
Diffstat (limited to 'engines/wintermute/base/gfx/osystem')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/render_ticket.cpp | 2 |
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); |