diff options
author | Eugene Sandulenko | 2015-12-19 22:41:36 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-27 15:40:56 +0100 |
commit | cd84abb2f34b23a64ae67b3247d001462f58dd19 (patch) | |
tree | c7c2d98a644cac0365f910437ecfcf93b6d021f2 /engines | |
parent | 27adb22abab116c8ae092d37164326194545e9b4 (diff) | |
download | scummvm-rg350-cd84abb2f34b23a64ae67b3247d001462f58dd19.tar.gz scummvm-rg350-cd84abb2f34b23a64ae67b3247d001462f58dd19.tar.bz2 scummvm-rg350-cd84abb2f34b23a64ae67b3247d001462f58dd19.zip |
WAGE: Fix pattern filling
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wage/design.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp index 1f2e8b76b0..d914aa2fd3 100644 --- a/engines/wage/design.cpp +++ b/engines/wage/design.cpp @@ -127,7 +127,7 @@ void drawPixel(int x, int y, int color, void *data) { if (x >= 0 && x < p->surface->w && y >= 0 && y < p->surface->h) { *((byte *)p->surface->getBasePtr(x, y)) = - (pat[(y - p->y0) % 8] & (1 << (7 - (x - p->x0) % 8))) ? + (pat[y % 8] & (1 << (7 - x % 8))) ? color : kColorWhite; } } |