aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-06-25 06:10:13 +0000
committerTravis Howell2004-06-25 06:10:13 +0000
commit0db578ac11eb451bda64eedd05bff07a0d7ae0b4 (patch)
treea438c5376a7fc7d30a16da54c35ed23a8095c5af
parent1503d476ec819c8d94d9efdbd9ff4fc6c843ff4b (diff)
downloadscummvm-rg350-0db578ac11eb451bda64eedd05bff07a0d7ae0b4.tar.gz
scummvm-rg350-0db578ac11eb451bda64eedd05bff07a0d7ae0b4.tar.bz2
scummvm-rg350-0db578ac11eb451bda64eedd05bff07a0d7ae0b4.zip
Fix minor bug in akos codec1
svn-id: r14036
-rw-r--r--scumm/akos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index 9dd13e416e..b91c75688f 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -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;
}