aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/akos.cpp')
-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;
}