aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-03-16 12:12:05 +0000
committerTravis Howell2006-03-16 12:12:05 +0000
commit79b5c11ee24cae949db80040dff269e6851b64f0 (patch)
treeca57f97f0e6f9ca4cf351c98d5c528a09d99023e /engines
parent60b66f31dff294595fc648593cf19b05a2204b2d (diff)
downloadscummvm-rg350-79b5c11ee24cae949db80040dff269e6851b64f0.tar.gz
scummvm-rg350-79b5c11ee24cae949db80040dff269e6851b64f0.tar.bz2
scummvm-rg350-79b5c11ee24cae949db80040dff269e6851b64f0.zip
Minor cleanup
svn-id: r21331
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/gfx.cpp3
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