diff options
-rw-r--r-- | scumm/akos.cpp | 12 | ||||
-rw-r--r-- | scumm/gfx.cpp | 6 |
2 files changed, 5 insertions, 13 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 66d117dcb6..7fa2012582 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -343,7 +343,7 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) { const CostumeInfo *costumeInfo; uint i, extra; byte result = 0; - int xmoveCur, ymoveCur, dxCur, dyCur; + int xmoveCur, ymoveCur; uint32 seq3Idx[32]; uint8 hasSeq3Idx; int lastDx, lastDy; @@ -444,16 +444,10 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) { ymoveCur = _ymove + (int16)READ_LE_UINT16(p + 2); if (i == extra - 1) { - dxCur = lastDx; - dyCur = lastDy; - } else { - dxCur = 0; - dyCur = 0; + _xmove += lastDx; + _ymove -= lastDy; } - _xmove += dxCur; - _ymove -= dyCur; - if (!hasSeq3Idx || !akct) { decflag = 1; } else { diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 9ddf3fc35c..774bea5ee1 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -1714,13 +1714,11 @@ dec_sub3: rw -= code; } } src += var_8 + 2; - dst1 += dstPitch; - dst2 += dstPitch; } else { src += 2; - dst1 += dstPitch; - dst2 += dstPitch; } + dst1 += dstPitch; + dst2 += dstPitch; } } |