Fix minor bug in akos codec1

svn-id: r14036
This commit is contained in:
Travis Howell 2004-06-25 06:10:13 +00:00
parent 1503d476ec
commit 0db578ac11

View File

@ -606,7 +606,7 @@ byte AkosRenderer::codec1(int xmoveCur, int ymoveCur) {
startScaleIndexX = 0x180 + xmoveCur;
j = startScaleIndexX;
for (i = 0; i < xmoveCur; i++) {
if (v1.scaletable[j++] < _scaleX)
if (v1.scaletable[j--] < _scaleX)
cur_x += v1.scaleXstep;
}