diff options
author | whiterandrek | 2018-06-19 10:34:28 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | b32af31601da92046902ad6dc9152294537d6272 (patch) | |
tree | c48f14d9d7569b83d71dd3149d77bdde49b4c224 /engines/pink | |
parent | c4461cb4c347460fafb3725341ca1a2e712c8f1c (diff) | |
download | scummvm-rg350-b32af31601da92046902ad6dc9152294537d6272.tar.gz scummvm-rg350-b32af31601da92046902ad6dc9152294537d6272.tar.bz2 scummvm-rg350-b32af31601da92046902ad6dc9152294537d6272.zip |
PINK: fix updating cursor when mouse isn't moving
Diffstat (limited to 'engines/pink')
-rw-r--r-- | engines/pink/objects/actors/lead_actor.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/pink/objects/actors/lead_actor.cpp b/engines/pink/objects/actors/lead_actor.cpp index 9f04e7417c..8384fb40f3 100644 --- a/engines/pink/objects/actors/lead_actor.cpp +++ b/engines/pink/objects/actors/lead_actor.cpp @@ -130,6 +130,7 @@ void LeadActor::update() { if (!_sequencer->_context) { _state = _nextState; _nextState = kUndefined; + forceUpdateCursor(); } break; case kInventory: @@ -367,6 +368,7 @@ bool LeadActor::sendUseClickMessage(Actor *actor) { actor->onUseClickMessage(mgr->getCurrentItem(), mgr); if (item->getCurrentOwner() != this->_name) _isHaveItem = false; + forceUpdateCursor(); return true; } @@ -374,7 +376,9 @@ bool LeadActor::sendLeftClickMessage(Actor *actor) { assert(_state != kPlayingExitSequence); _nextState = kReady; _state = kPlayingSequence; - return actor->onLeftClickMessage(); + actor->onLeftClickMessage(); + forceUpdateCursor(); + return true; } WalkLocation *LeadActor::getWalkDestination() { |