aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2002-12-13 01:30:22 +0000
committerMax Horn2002-12-13 01:30:22 +0000
commit85a4c53a1a83a6f97ac74357fa4177195da56de7 (patch)
tree905e0f9ed0fff82185364c8ffb236dbabb53af11 /scumm/gfx.cpp
parent6d948c4f527c6706f85a845a35b7359476487a26 (diff)
downloadscummvm-rg350-85a4c53a1a83a6f97ac74357fa4177195da56de7.tar.gz
scummvm-rg350-85a4c53a1a83a6f97ac74357fa4177195da56de7.tar.bz2
scummvm-rg350-85a4c53a1a83a6f97ac74357fa4177195da56de7.zip
fix for the arrow bug in MonkeyVGA (see also bug #599442 and patch #643464)
svn-id: r5923
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 6e2bcf9fa6..1e9ad05e76 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -1794,7 +1794,7 @@ void Scumm::restoreBG(int left, int top, int right, int bottom, byte backColor)
topline = vs->topline;
height = topline + vs->height;
- right++; // FIXME - why do we increment right here?!? (add comment)
+// right++; // FIXME - why did we increment here?!? it caused bug
if (left < 0)
left = 0;
if (right < 0)