diff options
author | Travis Howell | 2007-05-16 10:03:02 +0000 |
---|---|---|
committer | Travis Howell | 2007-05-16 10:03:02 +0000 |
commit | 2783526b714e28be62bf335de6c5b66e9835f121 (patch) | |
tree | 9f333295696eb24ff3978f3619bc42ef296ed8ea /engines/agos | |
parent | 22e3afc4090144cd792e66df09b0c3790d5875e4 (diff) | |
download | scummvm-rg350-2783526b714e28be62bf335de6c5b66e9835f121.tar.gz scummvm-rg350-2783526b714e28be62bf335de6c5b66e9835f121.tar.bz2 scummvm-rg350-2783526b714e28be62bf335de6c5b66e9835f121.zip |
Fix inventory icons in Amiga/AtariST versions of Elvira 1.
svn-id: r26852
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/icons.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/agos/icons.cpp b/engines/agos/icons.cpp index d01d42a367..1e83420d8f 100644 --- a/engines/agos/icons.cpp +++ b/engines/agos/icons.cpp @@ -271,7 +271,9 @@ void AGOSEngine::drawIcon(WindowBlock *window, uint icon, uint x, uint y) { dst += (y * 8 + window->y) * _dxSurfacePitch; if (getFeatures() & GF_PLANAR) { - // TODO + src = _iconFilePtr; + src += READ_BE_UINT16(&((uint16 *)src)[icon]); + decompressIconPlanar(dst, src, 24, 24, 16, _dxSurfacePitch); } else { src = _iconFilePtr; src += icon * 288; |