aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2002-12-24 15:45:23 +0000
committerMax Horn2002-12-24 15:45:23 +0000
commit22ab263b002c2f0946fa56c2463860f64b384278 (patch)
treee8fe26502daa21e4f3ee11e72a0ee80835b1c325 /scumm/gfx.cpp
parent908de409193053d28dd23ff733d2edfdd83b8714 (diff)
downloadscummvm-rg350-22ab263b002c2f0946fa56c2463860f64b384278.tar.gz
scummvm-rg350-22ab263b002c2f0946fa56c2463860f64b384278.tar.bz2
scummvm-rg350-22ab263b002c2f0946fa56c2463860f64b384278.zip
getting graphics in COMI, woohoo! That's a nice christmas present, isn't it? :-)
svn-id: r6103
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 0ff6ddf858..39042907d0 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -810,6 +810,9 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, const int h,
assert(smap_ptr);
+ if (_vm->_features & GF_AFTER_V8)
+ smap_ptr += 24;
+
numzbuf = _disable_zbuffer ? 0 : _numZBuffer;
if (_vm->_features & GF_SMALL_HEADER) {