aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-03-02 12:23:37 +0000
committerPaweł Kołodziejski2003-03-02 12:23:37 +0000
commit9eff1cc3fd62c5752d9155cb98433de0be0e32d9 (patch)
treecf7eacafdde042e38728e64965b14fc291166486 /scumm
parent3d75e1191d507e14b17d95c2854fa516a67ca8a3 (diff)
downloadscummvm-rg350-9eff1cc3fd62c5752d9155cb98433de0be0e32d9.tar.gz
scummvm-rg350-9eff1cc3fd62c5752d9155cb98433de0be0e32d9.tar.bz2
scummvm-rg350-9eff1cc3fd62c5752d9155cb98433de0be0e32d9.zip
changed check only for Cxxx opcodes
svn-id: r6657
Diffstat (limited to 'scumm')
-rw-r--r--scumm/akos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index 26adc184d2..24bf8de5f0 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -1450,7 +1450,7 @@ bool Scumm::akos_increaseAnim(Actor *a, int chan, byte *aksq, uint16 *akfo, int
}
break;
default:
- if (code & 0xC000)
+ if ((code & 0xC000) == 0xC000)
error("akos_increaseAnim: invalid code %x", code);
curpos += (code & 0x8000) ? 2 : 1;
}