diff options
author | whiterandrek | 2018-06-20 23:12:44 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | 3e2c9b6bc2815d1777ff2f93723994c7efbe64aa (patch) | |
tree | 4decc65af5d15acd26002d551df1550708b368e4 /engines/pink | |
parent | 8477a61d621fb09b7f78e1fbe3122a13522fd85d (diff) | |
download | scummvm-rg350-3e2c9b6bc2815d1777ff2f93723994c7efbe64aa.tar.gz scummvm-rg350-3e2c9b6bc2815d1777ff2f93723994c7efbe64aa.tar.bz2 scummvm-rg350-3e2c9b6bc2815d1777ff2f93723994c7efbe64aa.zip |
PINK: fix updating cursor in some situations
Diffstat (limited to 'engines/pink')
-rw-r--r-- | engines/pink/objects/actors/lead_actor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/pink/objects/actors/lead_actor.cpp b/engines/pink/objects/actors/lead_actor.cpp index 1bc49a0786..bfbbbb0642 100644 --- a/engines/pink/objects/actors/lead_actor.cpp +++ b/engines/pink/objects/actors/lead_actor.cpp @@ -325,7 +325,9 @@ void LeadActor::setNextExecutors(const Common::String &nextModule, const Common: } void LeadActor::forceUpdateCursor() { - const Common::Point point = _page->getGame()->getEventManager()->getMousePos(); + PinkEngine *vm =_page->getGame(); + vm->getDirector()->update(); // we have actions, that should be drawn to properly update cursor + const Common::Point point = vm->getEventManager()->getMousePos(); updateCursor(point); } |