diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wage/design.cpp | 4 | ||||
-rw-r--r-- | engines/wage/wage.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp index bafb3ad63f..0b9db3b2a2 100644 --- a/engines/wage/design.cpp +++ b/engines/wage/design.cpp @@ -560,13 +560,13 @@ void Design::drawThickLine (int x1, int y1, int x2, int y2, int thick, int color if (dx == 0) { if (y1 > y2) SWAP(y1, y2); - Common::Rect r(x1, y1, x1 + thick, y2); + Common::Rect r(x1, y1, x1 + thick - 1, y2); drawFilledRect(r, color, plotProc, data); return; } else if (dy == 0) { if (x1 > x2) SWAP(x1, x2); - Common::Rect r(x1, y1, x2, y1 + thick); + Common::Rect r(x1, y1, x2, y1 + thick - 1); drawFilledRect(r, color, plotProc, data); return; } diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index 52a5f5c600..093c94a2f0 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -108,8 +108,8 @@ Common::Error WageEngine::run() { Graphics::Surface screen; screen.create(640, 480, Graphics::PixelFormat::createFormatCLUT8()); Common::Rect r(0, 0, screen.w, screen.h); - //_world->_objs["frank.1"]->_design->setBounds(&r); - //_world->_objs["frank.1"]->_design->paint(&screen, _world->_patterns, false); + _world->_objs["frank.1"]->_design->setBounds(&r); + _world->_objs["frank.1"]->_design->paint(&screen, _world->_patterns, false); _world->_scenes["temple of the holy mackeral"]->_design->setBounds(&r); _world->_scenes["temple of the holy mackeral"]->_design->paint(&screen, _world->_patterns, false); //_world->_scenes["tower level 3"]->_design->setBounds(&r); |