Patch 613597: Sam and Max object ordering fixme thingzie.
svn-id: r5013
This commit is contained in:
parent
2e88cd210c
commit
7c6864efe8
2 changed files with 3 additions and 7 deletions
|
@ -375,7 +375,9 @@ void Scumm::drawObject(int obj, int arg)
|
|||
|
||||
if (numstrip != 0) {
|
||||
byte flags = Gdi::dbAllowMaskOr;
|
||||
if (_features & GF_AFTER_V7 && getClass(od->obj_nr, 22))
|
||||
// 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;
|
||||
gdi.drawBitmap(ptr, _curVirtScreen, x, ypos, height, x - xpos, numstrip, flags);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue