aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-07 21:01:33 -0400
committerPaul Gilbert2015-05-07 21:01:33 -0400
commit44f3ae5005a8bc79ecb8f0670e466904fc375d31 (patch)
tree6ec47f59640b0d9c908b1a8ba2a81e0af62bca45
parent57109ef0a8d30f15aa1fcef7d9d229fc9701f630 (diff)
downloadscummvm-rg350-44f3ae5005a8bc79ecb8f0670e466904fc375d31.tar.gz
scummvm-rg350-44f3ae5005a8bc79ecb8f0670e466904fc375d31.tar.bz2
scummvm-rg350-44f3ae5005a8bc79ecb8f0670e466904fc375d31.zip
SHERLOCK: Fix pink dot appearing in lower-left corner of some player frames
-rw-r--r--engines/sherlock/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/graphics.cpp b/engines/sherlock/graphics.cpp
index 132d3fa089..5dafb4cc76 100644
--- a/engines/sherlock/graphics.cpp
+++ b/engines/sherlock/graphics.cpp
@@ -143,7 +143,7 @@ void Surface::transBlitFrom(const Graphics::Surface &src, const Common::Point &p
const int TRANSPARENCY = 0xFF;
for (int yp = 0; yp < drawRect.height(); ++yp) {
const byte *srcP = (const byte *)src.getBasePtr(
- flipped ? drawRect.right : drawRect.left, drawRect.top + yp);
+ flipped ? drawRect.right - 1 : drawRect.left, drawRect.top + yp);
byte *destP = (byte *)getBasePtr(destPt.x, destPt.y + yp);
for (int xp = 0; xp < drawRect.width(); ++xp, ++destP) {