mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-07 02:12:14 +00:00
DIRECTOR: fix the logic within.
This commit is contained in:
parent
c2941c7f3e
commit
cff54ea5db
@ -866,7 +866,7 @@ void LC::c_within() {
|
||||
if (sprite1->_sprite->_ink == kInkTypeMatte && sprite2->_sprite->_ink == kInkTypeMatte) {
|
||||
g_lingo->push(Datum(sprite2->isMatteWithin(sprite1)));
|
||||
} else {
|
||||
g_lingo->push(Datum(sprite1->getBbox().contains(sprite2->getBbox())));
|
||||
g_lingo->push(Datum(sprite2->getBbox().contains(sprite1->getBbox())));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user