Permalink
Browse files

PINK: fixed clicking on leadActor in moving state with item

  • Loading branch information...
whiterandrek committed Aug 15, 2018
1 parent b4ab89a commit 2a6222be1752cabd0fc1d0641a3d34cd896a0784
Showing with 2 additions and 2 deletions.
  1. +2 −2 engines/pink/objects/actors/lead_actor.cpp
@@ -283,9 +283,9 @@ void LeadActor::onMouseOver(const Common::Point point, CursorMgr *mgr) {

void LeadActor::onLeftClickMessage() {
if (_isHaveItem) {
assert(_state != kMoving);
_isHaveItem = false;
_nextState = kUndefined;
_nextState = _state != kMoving ? kUndefined : kReady;
forceUpdateCursor();
} else {
if (_state == kMoving)
cancelInteraction();

0 comments on commit 2a6222b

Please sign in to comment.