aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/icons.cpp')
-rw-r--r--engines/agos/icons.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/agos/icons.cpp b/engines/agos/icons.cpp
index eeee459af3..14d312b8c5 100644
--- a/engines/agos/icons.cpp
+++ b/engines/agos/icons.cpp
@@ -199,6 +199,9 @@ void AGOSEngine::draw_icon_c(WindowBlock *window, uint icon, uint x, uint y) {
src += READ_LE_UINT16(&((uint16 *)src)[icon]);
decompressIcon(dst, src, 24, 12, 224, _dxSurfacePitch);
}
+ } else if (getGameType() == GType_ELVIRA2 || getGameType() == GType_WW) {
+ // TODO
+
} else if (getGameType() == GType_ELVIRA1) {
dst += (x + window->x) * 8;
dst += (y * 8 + window->y) * _dxSurfacePitch;
@@ -206,8 +209,6 @@ void AGOSEngine::draw_icon_c(WindowBlock *window, uint icon, uint x, uint y) {
src = _iconFilePtr;
src += icon * 288;
decompressIconAmiga(dst, src, 16, _dxSurfacePitch, false);
- } else {
- // TODO
}
_lockWord &= ~0x8000;