diff options
author | Vladimir Menshakov | 2009-12-12 18:12:24 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-12-12 18:12:24 +0000 |
commit | b0a5c5869f696445e79ab40d7d07d22bd0c84107 (patch) | |
tree | b7487d09aadede5a8d2a31581d3bb4287a54a981 /engines/teenagent | |
parent | 65ed29b3be3ea735c581894882566355aa78a2eb (diff) | |
download | scummvm-rg350-b0a5c5869f696445e79ab40d7d07d22bd0c84107.tar.gz scummvm-rg350-b0a5c5869f696445e79ab40d7d07d22bd0c84107.tar.bz2 scummvm-rg350-b0a5c5869f696445e79ab40d7d07d22bd0c84107.zip |
fixed dirty rectangle
svn-id: r46346
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/surface.cpp b/engines/teenagent/surface.cpp index 82a6399657..bb6aca155a 100644 --- a/engines/teenagent/surface.cpp +++ b/engines/teenagent/surface.cpp @@ -106,7 +106,7 @@ Common::Rect Surface::render(Graphics::Surface *surface, int dx, int dy, bool mi dst += surface->pitch; } } - return Common::Rect(x + dx, y + dy, x + w + dx, y + h + dy); + return Common::Rect(x + dx, y + dy, x + src_rect.width() + dx, y + src_rect.height() + dy); } } // End of namespace TeenAgent |