diff options
author | Eugene Sandulenko | 2015-12-19 13:13:35 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-27 15:40:55 +0100 |
commit | 0b79d5611e5f2fc222ea4d7f1d60ff7905d83fbe (patch) | |
tree | 85226c4075fc42a85dc0cbfe1c18438bf9c09d7f /engines | |
parent | fd37094c82dcf022660208b277004890bf32aae2 (diff) | |
download | scummvm-rg350-0b79d5611e5f2fc222ea4d7f1d60ff7905d83fbe.tar.gz scummvm-rg350-0b79d5611e5f2fc222ea4d7f1d60ff7905d83fbe.tar.bz2 scummvm-rg350-0b79d5611e5f2fc222ea4d7f1d60ff7905d83fbe.zip |
WAGE: Fixed rectangle drawing
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 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); } |