aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/actors/lead_actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/objects/actors/lead_actor.cpp')
-rw-r--r--engines/pink/objects/actors/lead_actor.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/pink/objects/actors/lead_actor.cpp b/engines/pink/objects/actors/lead_actor.cpp
index 516569faed..d89ecb4f87 100644
--- a/engines/pink/objects/actors/lead_actor.cpp
+++ b/engines/pink/objects/actors/lead_actor.cpp
@@ -115,6 +115,7 @@ void LeadActor::onKeyboardButtonClick(Common::KeyCode code) {
default:
break;
}
+ break;
case kInDialog1:
case kInDialog2:
case kPlayingVideo:
@@ -242,8 +243,8 @@ void LeadActor::onClick() {
}
else {
if (_state == kMoving) {
- this->_recipient = nullptr;
- this->_nextState = nullptr;
+ _recipient = nullptr;
+ _nextState = kReady;
}
}