aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects
diff options
context:
space:
mode:
authorwhiterandrek2018-06-20 23:12:44 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commit3e2c9b6bc2815d1777ff2f93723994c7efbe64aa (patch)
tree4decc65af5d15acd26002d551df1550708b368e4 /engines/pink/objects
parent8477a61d621fb09b7f78e1fbe3122a13522fd85d (diff)
downloadscummvm-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/objects')
-rw-r--r--engines/pink/objects/actors/lead_actor.cpp4
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);
}