aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2015-12-19 13:13:35 +0100
committerEugene Sandulenko2015-12-27 15:40:55 +0100
commit0b79d5611e5f2fc222ea4d7f1d60ff7905d83fbe (patch)
tree85226c4075fc42a85dc0cbfe1c18438bf9c09d7f /engines/wage
parentfd37094c82dcf022660208b277004890bf32aae2 (diff)
downloadscummvm-rg350-0b79d5611e5f2fc222ea4d7f1d60ff7905d83fbe.tar.gz
scummvm-rg350-0b79d5611e5f2fc222ea4d7f1d60ff7905d83fbe.tar.bz2
scummvm-rg350-0b79d5611e5f2fc222ea4d7f1d60ff7905d83fbe.zip
WAGE: Fixed rectangle drawing
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/design.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp
index d0c461c9dc..2ed53d7989 100644
--- a/engines/wage/design.cpp
+++ b/engines/wage/design.cpp
@@ -351,7 +351,7 @@ void Design::drawBitmap(Graphics::Surface *surface, Common::ReadStream &in, bool
}
void Design::drawFilledRect(Common::Rect &rect, int color, void (*plotProc)(int, int, int, void *), void *data) {
- for (int y = rect.top; y < rect.bottom; y++)
+ for (int y = rect.top; y <= rect.bottom; y++)
drawHLine(rect.left, rect.right, y, color, plotProc, data);
}