aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
authorGregory Montoir2004-11-27 17:50:23 +0000
committerGregory Montoir2004-11-27 17:50:23 +0000
commit5e351b0c312a921f9e2e8090462afec5cce7dbb1 (patch)
treea296ddd9e2256768d6d36d4d793a2befd78dd751 /scumm/akos.cpp
parentb92b8e8d6aa4108663e309cef08e5bbae609f734 (diff)
downloadscummvm-rg350-5e351b0c312a921f9e2e8090462afec5cce7dbb1.tar.gz
scummvm-rg350-5e351b0c312a921f9e2e8090462afec5cce7dbb1.tar.bz2
scummvm-rg350-5e351b0c312a921f9e2e8090462afec5cce7dbb1.zip
moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
svn-id: r15921
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;
}