aboutsummaryrefslogtreecommitdiff
path: root/engines/pink
diff options
context:
space:
mode:
authorAndrei Prykhodko2018-10-12 22:41:46 +0300
committerAndrei Prykhodko2018-10-12 22:41:46 +0300
commit18c6a1a25c7f4c65faeb1a4d4827046f21ab9c3d (patch)
tree8b5433e25a77db64880b00febedbacfeacd43459 /engines/pink
parent13b0a08dda17e8ef951ab2dcb667f96c7f4bc8f8 (diff)
downloadscummvm-rg350-18c6a1a25c7f4c65faeb1a4d4827046f21ab9c3d.tar.gz
scummvm-rg350-18c6a1a25c7f4c65faeb1a4d4827046f21ab9c3d.tar.bz2
scummvm-rg350-18c6a1a25c7f4c65faeb1a4d4827046f21ab9c3d.zip
PINK: added missing sequencer update in Moving state
Diffstat (limited to 'engines/pink')
-rw-r--r--engines/pink/objects/actors/lead_actor.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/pink/objects/actors/lead_actor.cpp b/engines/pink/objects/actors/lead_actor.cpp
index 4134c2ffa8..a5479735f0 100644
--- a/engines/pink/objects/actors/lead_actor.cpp
+++ b/engines/pink/objects/actors/lead_actor.cpp
@@ -119,12 +119,11 @@ void LeadActor::start(bool isHandler) {
void LeadActor::update() {
switch (_state) {
- case kReady:
- _sequencer->update();
- _cursorMgr->update();
- break;
case kMoving:
_walkMgr->update();
+ // fall through
+ case kReady:
+ _sequencer->update();
_cursorMgr->update();
break;
case kPlayingSequence: