aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
diff options
context:
space:
mode:
authorGregory Montoir2004-09-19 08:58:51 +0000
committerGregory Montoir2004-09-19 08:58:51 +0000
commitfe2f551952e71bcc469a24a67989eb550ae8c842 (patch)
tree3bd1e15af2c4aa15cd9a26c83bfd2f80d7f082c1 /scumm/actor.cpp
parent45c34259bddf2acf563b95f40770f242848ca61c (diff)
downloadscummvm-rg350-fe2f551952e71bcc469a24a67989eb550ae8c842.tar.gz
scummvm-rg350-fe2f551952e71bcc469a24a67989eb550ae8c842.tar.bz2
scummvm-rg350-fe2f551952e71bcc469a24a67989eb550ae8c842.zip
only warn if the AXFD block is valid
svn-id: r15185
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r--scumm/actor.cpp5
1 files changed, 1 insertions, 4 deletions
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) {