From fe2f551952e71bcc469a24a67989eb550ae8c842 Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Sun, 19 Sep 2004 08:58:51 +0000 Subject: only warn if the AXFD block is valid svn-id: r15185 --- scumm/actor.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scumm') diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 5509857858..4a2cab1258 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1917,7 +1917,7 @@ void ScummEngine::postProcessAuxQueue() { error("No AXFD block for actor %d", ae->actorNum); } else { uint16 comp = READ_LE_UINT16(axfd); - if (comp == 1 || comp == 16) { + if (comp != 0) { int x1 = (int16)READ_LE_UINT16(axfd + 2) + dx; int y1 = (int16)READ_LE_UINT16(axfd + 4) + dy; int x2 = (int16)READ_LE_UINT16(axfd + 6); @@ -1933,10 +1933,7 @@ void ScummEngine::postProcessAuxQueue() { warning("unimplemented compression type %d", comp); break; } - } else { - warning("unimplemented compression type %d", comp); } - } const uint8 *axur = findResourceData(MKID('AXUR'), auxd); if (axur) { -- cgit v1.2.3