From aede69df3c495688cdacc17e2ca69cc28398f0e8 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 1 Aug 2015 14:19:11 -0400 Subject: SHERLOCK: RT: Add check for resetting sequence in setObjSequence --- engines/sherlock/objects.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/sherlock/objects.cpp') diff --git a/engines/sherlock/objects.cpp b/engines/sherlock/objects.cpp index 6ef08c28cc..3149a20230 100644 --- a/engines/sherlock/objects.cpp +++ b/engines/sherlock/objects.cpp @@ -397,6 +397,10 @@ void BaseObject::setObjSequence(int seq, bool wait) { Scene &scene = *_vm->_scene; int checkFrame = _allow ? MAX_FRAME : FRAMES_END; + if (IS_ROSE_TATTOO && (seq == -1 || seq == 255)) + // This means goto beginning + seq = 0; + if (seq >= 128) { // Loop the sequence until the count exceeded seq -= 128; -- cgit v1.2.3