From 8a112ec92d57f7c05739e7681930289d9f9da431 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 20 May 2016 06:59:38 +0200 Subject: GNAP: Enable a clown sequence which wasn't used in the original due to a bug --- engines/gnap/scenes/group2.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/engines/gnap/scenes/group2.cpp b/engines/gnap/scenes/group2.cpp index 2bee320b72..78f7c04774 100644 --- a/engines/gnap/scenes/group2.cpp +++ b/engines/gnap/scenes/group2.cpp @@ -3036,13 +3036,15 @@ void Scene28::updateAnimations() { gnap.walkTo(Common::Point(2, 8), -1, 0x107BB, 1); break; case kAS28TalkClown: - _clownTalkCtr = (_clownTalkCtr + 1) % 2; + // The original was only using the first two sequences, + // due to a bug. + _clownTalkCtr = (_clownTalkCtr + 1) % 3; if (_clownTalkCtr == 0) _nextClownSequenceId = 0x11D; else if (_clownTalkCtr == 1) _nextClownSequenceId = 0x11E; else if (_clownTalkCtr == 2) - _nextClownSequenceId = 0x11F; // NOTE CHECKME Never set, bug in the original? + _nextClownSequenceId = 0x11F; break; case kAS28GnapWaiting: gnap._actionStatus = -1; -- cgit v1.2.3