diff options
Diffstat (limited to 'engines/director/lingo/lingo-builtins.cpp')
-rw-r--r-- | engines/director/lingo/lingo-builtins.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-builtins.cpp b/engines/director/lingo/lingo-builtins.cpp index c94717ac74..d79b201a04 100644 --- a/engines/director/lingo/lingo-builtins.cpp +++ b/engines/director/lingo/lingo-builtins.cpp @@ -1234,9 +1234,8 @@ void Lingo::b_rollOver(int nargs) { } Common::Point pos = g_system->getEventManager()->getMousePos(); - uint16 spriteId = frame->getSpriteIDFromPos(pos); - if (spriteId == arg) + if (frame->checkSpriteIntersection(arg, pos)) d.u.i = 1; // TRUE g_lingo->push(d); |