aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index fba3ded70b..91102ce7ff 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -1232,10 +1232,10 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int wi
}
}
-#if 0
+#if 1
// HACK: blit mask(s) onto normal screen. Useful to debug masking
for (i = 0; i < numzbuf; i++) {
- mask_ptr = _vm->getMaskBuffer(x, y, i);
+ mask_ptr = _vm->getResourceAddress(rtBuffer, 9) + stripnr + _imgBufOffs[i] + (y * _numStrips);
byte *dst = backbuff_ptr;
byte *dst2 = bgbak_ptr;
for (int h = 0; h < height; h++) {