mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +00:00
DIRECTOR: don't update currentClickOnSpriteId when button is up.
This commit is contained in:
parent
ffb5be1937
commit
ca97db0fbd
@ -198,8 +198,6 @@ bool Movie::processEvent(Common::Event &event) {
|
||||
case Common::EVENT_LBUTTONUP:
|
||||
pos = _window->getMousePos();
|
||||
|
||||
_currentClickOnSpriteId = sc->getActiveSpriteIDFromPos(pos);
|
||||
|
||||
if (_currentHiliteChannelId && sc->_channels[_currentHiliteChannelId]) {
|
||||
g_director->getCurrentWindow()->setDirty(true);
|
||||
g_director->getCurrentWindow()->addDirtyRect(sc->_channels[_currentHiliteChannelId]->getBbox());
|
||||
|
Loading…
x
Reference in New Issue
Block a user