aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index f02bdfc9aa..1794c45163 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -668,7 +668,7 @@ void CharsetRenderer::restoreCharsetBg() {
// clean out the charset mask
const int mask_width = _vm->gdi._numStrips;
- byte *mask = _vm->getMaskBuffer(0, vs->topline, 0);
+ byte *mask = _vm->getMaskBuffer(0, 0, 0);
assert(vs->width == 8 * _vm->gdi._numStrips);
int height = vs->height;