diff options
author | Willem Jan Palenstijn | 2013-04-18 23:35:23 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:40:58 +0200 |
commit | 9c2341678ef4984bf92b3878295250faf980b066 (patch) | |
tree | 2fb4805e05e16b9924e80c9947e6bad723b28c4b /engines/saga/gfx.cpp | |
parent | 8172d679df5148a4a32f46074b20cb6caf91844f (diff) | |
parent | a5f4ff36ffc386d48f2da49387a9655ce9295a4d (diff) | |
download | scummvm-rg350-9c2341678ef4984bf92b3878295250faf980b066.tar.gz scummvm-rg350-9c2341678ef4984bf92b3878295250faf980b066.tar.bz2 scummvm-rg350-9c2341678ef4984bf92b3878295250faf980b066.zip |
Merge branch 'master'
Diffstat (limited to 'engines/saga/gfx.cpp')
-rw-r--r-- | engines/saga/gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/gfx.cpp b/engines/saga/gfx.cpp index ab0c0f3e4c..62250a0820 100644 --- a/engines/saga/gfx.cpp +++ b/engines/saga/gfx.cpp @@ -123,7 +123,7 @@ void Surface::drawPolyLine(const Point *points, int count, int color) { drawLine(points[i].x, points[i].y, points[i - 1].x, points[i - 1].y, color); } - drawLine(points[count - 1].x, points[count - 1].y, points->x, points->y, color); + drawLine(points[count - 1].x, points[count - 1].y, points[0].x, points[0].y, color); } } @@ -156,7 +156,7 @@ void Surface::transitionDissolve(const byte *sourceBuffer, const Common::Rect &s if (sourceRect.contains(x1, y1)) { color = sourceBuffer[(x1-sourceRect.left) + sourceRect.width()*(y1-sourceRect.top)]; if (flags == 0 || color) - ((byte*)pixels)[seq] = color; + ((byte *)pixels)[seq] = color; } } } |