aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap/scenes/group2.cpp
diff options
context:
space:
mode:
authorStrangerke2016-05-20 06:59:38 +0200
committerStrangerke2016-05-20 06:59:38 +0200
commit8a112ec92d57f7c05739e7681930289d9f9da431 (patch)
treeaee9bfdd6976b737bdd0d94b1457719ca9e90d1a /engines/gnap/scenes/group2.cpp
parentba61f90eb6324ceb9f6759a78de06136d1c3be5b (diff)
downloadscummvm-rg350-8a112ec92d57f7c05739e7681930289d9f9da431.tar.gz
scummvm-rg350-8a112ec92d57f7c05739e7681930289d9f9da431.tar.bz2
scummvm-rg350-8a112ec92d57f7c05739e7681930289d9f9da431.zip
GNAP: Enable a clown sequence which wasn't used in the original due to a bug
Diffstat (limited to 'engines/gnap/scenes/group2.cpp')
-rw-r--r--engines/gnap/scenes/group2.cpp6
1 files 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;