aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
diff options
context:
space:
mode:
authorJames Brown2002-09-29 15:20:02 +0000
committerJames Brown2002-09-29 15:20:02 +0000
commit13888147068c06121cb9c69b21b6ca239a354819 (patch)
treedf74838c2757686a104eb4e754f92aa72e29eb1c /scumm/object.cpp
parentf54715b4c46b8f54035eb6bfd5a7712f70ffccc7 (diff)
downloadscummvm-rg350-13888147068c06121cb9c69b21b6ca239a354819.tar.gz
scummvm-rg350-13888147068c06121cb9c69b21b6ca239a354819.tar.bz2
scummvm-rg350-13888147068c06121cb9c69b21b6ca239a354819.zip
Patch 616144: Sam and Max layering fix (drawMaskOnBoth rewrite)
svn-id: r5036
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r--scumm/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index e05a1e16ba..40896990a7 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -378,7 +378,7 @@ void Scumm::drawObject(int obj, int arg)
// Sam & Max needs this to fix object-layering problems with
// the inventory and conversation icons.
if ((_features & GF_AFTER_V7 || _gameId == GID_SAMNMAX) && getClass(od->obj_nr, 22))
- flags |= Gdi::dbDrawMaskOnBoth;
+ flags |= Gdi::dbDrawMaskOnAll;
gdi.drawBitmap(ptr, _curVirtScreen, x, ypos, height, x - xpos, numstrip, flags);
}
}