aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-10-05 05:52:48 +0000
committerTravis Howell2004-10-05 05:52:48 +0000
commit56ae86ef4fd96807e3fa4c25f89b45ecfa377266 (patch)
treea048cc32eb9398aab5b950542e3ec483cfedfca5 /scumm/akos.cpp
parentf1ffeaf3ecebbbb1806645d70b3b745d9da4b7ea (diff)
downloadscummvm-rg350-56ae86ef4fd96807e3fa4c25f89b45ecfa377266.tar.gz
scummvm-rg350-56ae86ef4fd96807e3fa4c25f89b45ecfa377266.tar.bz2
scummvm-rg350-56ae86ef4fd96807e3fa4c25f89b45ecfa377266.zip
HE71+ games use wizImages for charset too.
svn-id: r15417
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r--scumm/akos.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index f6ff91584f..ee416227da 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -1238,7 +1238,9 @@ byte AkosRenderer::codec32(int xmoveCur, int ymoveCur) {
if (_draw_bottom < dst.bottom)
_draw_bottom = dst.bottom;
- _vm->gdi.decompressWizImage(_outptr, _outwidth, dst, _srcptr, src);
+ byte *dstPtr = _outptr + dst.left + dst.top * _outwidth;
+
+ _vm->gdi.decompressWizImage(dstPtr, _outwidth, dst, _srcptr, src);
return 0;
}