aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r--scumm/akos.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index bf615c6fe1..48b4e09c43 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -1234,10 +1234,7 @@ byte AkosRenderer::codec32(int xmoveCur, int ymoveCur) {
_draw_bottom = dst.bottom;
byte *dstPtr = (byte *)_out.pixels + dst.left + dst.top * _out.pitch;
-
- for (int i = 0; i < 256; i++)
- _vm->gdi._wizImagePalette[i] = i;
- _vm->gdi.decompressWizImage(dstPtr, _out.pitch, dst, _srcptr, src);
+ _vm->_wiz.decompressWizImage(dstPtr, _out.pitch, dst, _srcptr, src);
return 0;
}