aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBorja Lorente2016-06-28 21:10:12 +0200
committerBorja Lorente2016-08-14 18:41:34 +0200
commit246fec28f55ca646a77985cd7b95a33b2cae994d (patch)
treee5731d9e6d91cdbe4a52afdc3c9061903d40ef1d /engines
parent680790acaa8dca81e66e21da58d91054f983e8ec (diff)
downloadscummvm-rg350-246fec28f55ca646a77985cd7b95a33b2cae994d.tar.gz
scummvm-rg350-246fec28f55ca646a77985cd7b95a33b2cae994d.tar.bz2
scummvm-rg350-246fec28f55ca646a77985cd7b95a33b2cae994d.zip
MACVENTURE: Fix minor object drawing bug
Diffstat (limited to 'engines')
-rw-r--r--engines/macventure/gui.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/macventure/gui.cpp b/engines/macventure/gui.cpp
index c8f6b3bf62..7cae246ab1 100644
--- a/engines/macventure/gui.cpp
+++ b/engines/macventure/gui.cpp
@@ -126,7 +126,7 @@ void Gui::draw() {
_wm.draw();
drawDraggedObject();
-
+
//drawWindowTitle(kMainGameWindow, _mainGameWindow->getSurface());
}
@@ -649,13 +649,12 @@ void Gui::drawObjectsInWindow(WindowReference target, Graphics::ManagedSurface *
if (data.children.size() == 0) return;
- Common::Point forbidden(0, 0);
for (uint i = 0; i < data.children.size(); i++) {
child = data.children[i].obj;
mode = (BlitMode)data.children[i].mode;
pos = _engine->getObjPosition(child);
- if (pos != forbidden && child < 600 && child != _draggedObj.id) { // Small HACK until I figre out where the last garbage child in main game window comes from
+ if (child < 600 && child != _draggedObj.id) { // Small HACK until I figre out where the last garbage child in main game window comes from
if (!_assets.contains(child)) {
_assets[child] = new ImageAsset(child, _graphics);
}