aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/screen.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp
index b601864aec..1857c2cdb7 100644
--- a/engines/kyra/screen.cpp
+++ b/engines/kyra/screen.cpp
@@ -1381,8 +1381,6 @@ void Screen::drawShape(uint8 pageNum, const uint8 *shapeData, int x, int y, int
uint8 *d = dst;
while (shapeHeight--) {
- ++curY;
-
bool normalPlot = true;
if (flags & 0x800)
normalPlot = (curY > _maskMinY && curY < _maskMaxY);
@@ -1415,6 +1413,7 @@ void Screen::drawShape(uint8 pageNum, const uint8 *shapeData, int x, int y, int
}
dst += dsPitch;
d = dst;
+ ++curY;
scaleCounterV -= 256;
} while (scaleCounterV & 0xff00);
}