From 79b5c11ee24cae949db80040dff269e6851b64f0 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 16 Mar 2006 12:12:05 +0000 Subject: Minor cleanup svn-id: r21331 --- engines/scumm/gfx.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp index 7bf0810705..de8d07b7d1 100644 --- a/engines/scumm/gfx.cpp +++ b/engines/scumm/gfx.cpp @@ -1656,8 +1656,7 @@ void Gdi::drawBMAPBg(const byte *ptr, VirtScreen *vs) { assert(bmap_ptr); byte code = *bmap_ptr++; - int scrX = _vm->_screenStartStrip * 8; - byte *dst = (byte *)_vm->virtscr[0].backBuf + scrX; + byte *dst = vs->getBackPixels(0, 0); // The following few lines more or less duplicate decompressBitmap(), only // for an area spanning multiple strips. In particular, the codecs 13 & 14 -- cgit v1.2.3