From 4b7e5aeaf72e77834d4f8beec9e139c12ed129bc Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 17 Apr 2008 22:50:15 +0000 Subject: Little fix in drawShape. svn-id: r31555 --- engines/kyra/screen.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines') 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); } -- cgit v1.2.3