SHERLOCK: Fix RUN_CANIMATION talk opcode
This commit is contained in:
parent
a95170d243
commit
15a4a942bb
1 changed files with 2 additions and 1 deletions
|
@ -1114,7 +1114,8 @@ void Talk::doScript(const Common::String &script) {
|
|||
case RUN_CANIMATION:
|
||||
// Save the current point in the script, since it might be intterupted by
|
||||
// doing bg anims in the next call, so we need to know where to return to
|
||||
_scriptCurrentIndex = str - script.c_str();
|
||||
++str;
|
||||
_scriptCurrentIndex = (str + 1) - script.c_str();
|
||||
scene.startCAnim((str[0] - 1) & 127, 1 + (str[0] & 128));
|
||||
if (_talkToAbort)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue