aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2016-08-24 23:23:47 +0200
committerEugene Sandulenko2016-08-24 23:23:47 +0200
commit381e8fc51d34ebcb02566b608c201dbe96aad1a0 (patch)
tree04a4a312b7a432c4a81f99973882ef8dc7598cb8 /engines
parent35243a235a62230e80f3df982a78ca523ff61abb (diff)
downloadscummvm-rg350-381e8fc51d34ebcb02566b608c201dbe96aad1a0.tar.gz
scummvm-rg350-381e8fc51d34ebcb02566b608c201dbe96aad1a0.tar.bz2
scummvm-rg350-381e8fc51d34ebcb02566b608c201dbe96aad1a0.zip
WAGE: Fix think line drawing, as pointed by md5
Diffstat (limited to 'engines')
-rw-r--r--engines/wage/design.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp
index 86b325e2b9..fd2a67b81e 100644
--- a/engines/wage/design.cpp
+++ b/engines/wage/design.cpp
@@ -235,9 +235,9 @@ void drawPixel(int x, int y, int color, void *data) {
color : kColorWhite;
}
} else {
- int x1 = x;
+ int x1 = x - p->thickness / 2;
int x2 = x1 + p->thickness;
- int y1 = y;
+ int y1 = y - p->thickness / 2;
int y2 = y1 + p->thickness;
for (y = y1; y < y2; y++)