diff options
author | Travis Howell | 2006-03-16 12:12:05 +0000 |
---|---|---|
committer | Travis Howell | 2006-03-16 12:12:05 +0000 |
commit | 79b5c11ee24cae949db80040dff269e6851b64f0 (patch) | |
tree | ca57f97f0e6f9ca4cf351c98d5c528a09d99023e | |
parent | 60b66f31dff294595fc648593cf19b05a2204b2d (diff) | |
download | scummvm-rg350-79b5c11ee24cae949db80040dff269e6851b64f0.tar.gz scummvm-rg350-79b5c11ee24cae949db80040dff269e6851b64f0.tar.bz2 scummvm-rg350-79b5c11ee24cae949db80040dff269e6851b64f0.zip |
Minor cleanup
svn-id: r21331
-rw-r--r-- | engines/scumm/gfx.cpp | 3 |
1 files changed, 1 insertions, 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 |