aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorGregory Montoir2005-10-21 17:43:30 +0000
committerGregory Montoir2005-10-21 17:43:30 +0000
commita915961234e319b9859a08cbd3b10ea06d3fd925 (patch)
tree1c9ae82ec9b7a033ae21b114aabc020236883fc0 /scumm
parent75e02d2da994d1c487700a7754d6d8d3c38cb2f7 (diff)
downloadscummvm-rg350-a915961234e319b9859a08cbd3b10ea06d3fd925.tar.gz
scummvm-rg350-a915961234e319b9859a08cbd3b10ea06d3fd925.tar.bz2
scummvm-rg350-a915961234e319b9859a08cbd3b10ea06d3fd925.zip
Gdi::dbDrawMaskOnAll shouldn't be set in COMI, this fixes bug #1329220.
svn-id: r19220
Diffstat (limited to 'scumm')
-rw-r--r--scumm/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index e539cf041f..04cbf8e694 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -489,7 +489,7 @@ void ScummEngine::drawObject(int obj, int arg) {
// Sam & Max needs this to fix object-layering problems with
// the inventory and conversation icons.
- if ((_version >= 7 || _gameId == GID_SAMNMAX) && getClass(od.obj_nr, kObjectClassIgnoreBoxes))
+ if ((_version == 7 || _gameId == GID_SAMNMAX) && getClass(od.obj_nr, kObjectClassIgnoreBoxes))
flags |= Gdi::dbDrawMaskOnAll;
if (_heversion >= 70 && findResource(MKID('SMAP'), ptr) == NULL)