diff options
Diffstat (limited to 'scumm/akos.cpp')
| -rw-r--r-- | scumm/akos.cpp | 4 |
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; } |
