From 87540eaa8f2b6664ff916605bd8bc57a7658cec3 Mon Sep 17 00:00:00 2001 From: Borja Lorente Date: Fri, 8 Jul 2016 12:05:07 +0200 Subject: MACVENTURE: Fix error with second scene --- engines/macventure/gui.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'engines/macventure') diff --git a/engines/macventure/gui.cpp b/engines/macventure/gui.cpp index 9671dc0f5f..1c626fef81 100644 --- a/engines/macventure/gui.cpp +++ b/engines/macventure/gui.cpp @@ -683,11 +683,14 @@ void Gui::drawObjectsInWindow(WindowReference target, Graphics::ManagedSurface * surface, pos.x, pos.y, kBlitOR); // For test + /* surface->frameRect(Common::Rect( pos.x, pos.y, - pos.x + _assets[child]->getWidth(), - pos.y + _assets[child]->getHeight()), kColorGreen); + pos.x + _assets[child]->getWidth() + 1, + pos.y + _assets[child]->getHeight() + 1), kColorGreen); + */ + } } @@ -736,7 +739,6 @@ void Gui::drawDraggedObject() { } } - void Gui::updateWindow(WindowReference winID, bool containerOpen) { if (winID == kNoWindow) return; if (winID == kSelfWindow || containerOpen) { -- cgit v1.2.3