mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 23:01:42 +00:00
akos codec 32 should never be used for old costumes.
small change to match original. svn-id: r20373
This commit is contained in:
parent
26349e6f65
commit
6277598a2d
@ -430,9 +430,6 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) {
|
||||
case 16:
|
||||
result |= codec16(xmoveCur, ymoveCur);
|
||||
break;
|
||||
case 32:
|
||||
result |= codec32(xmoveCur, ymoveCur);
|
||||
break;
|
||||
default:
|
||||
error("akos_drawLimb: invalid codec %d", codec);
|
||||
}
|
||||
@ -450,7 +447,7 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) {
|
||||
for (i = 0; i != extra; i++) {
|
||||
code = p[4];
|
||||
if (code & 0x80)
|
||||
code = ((code & 0xF) << 8) | p[5];
|
||||
code = ((code & 0xF) << 8) | (p[5] & 0xFFF);
|
||||
off = akof + code;
|
||||
|
||||
_srcptr = akcd + READ_LE_UINT32(&off->akcd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user