aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/screen.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-07 21:25:55 -0400
committerPaul Gilbert2015-07-07 21:25:55 -0400
commited2caf7cd64ad16110dba763ebda8bbbdb69a244 (patch)
treefb81e1c4261172c9c3c9e34d2c2c1e141c4e23ff /engines/sherlock/screen.cpp
parent47aa40104d11d92ea3c53390851e719d133fc7b9 (diff)
downloadscummvm-rg350-ed2caf7cd64ad16110dba763ebda8bbbdb69a244.tar.gz
scummvm-rg350-ed2caf7cd64ad16110dba763ebda8bbbdb69a244.tar.bz2
scummvm-rg350-ed2caf7cd64ad16110dba763ebda8bbbdb69a244.zip
SHERLOCK: RT: Fix display of verb menu in wide-screen scenes
Diffstat (limited to 'engines/sherlock/screen.cpp')
-rw-r--r--engines/sherlock/screen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sherlock/screen.cpp b/engines/sherlock/screen.cpp
index 85d8c7ad9d..782869d77e 100644
--- a/engines/sherlock/screen.cpp
+++ b/engines/sherlock/screen.cpp
@@ -355,7 +355,8 @@ void Screen::slamArea(int16 xp, int16 yp, int16 width, int16 height) {
void Screen::slamRect(const Common::Rect &r) {
if (r.width() && r.height() > 0) {
Common::Rect srcRect = r, destRect = r;
- srcRect.translate(_currentScroll.x, _currentScroll.y);
+
+ destRect.translate(-_currentScroll.x, -_currentScroll.y);
if (destRect.left < 0) {
srcRect.left += -destRect.left;