diff options
author | Paul Gilbert | 2015-05-24 21:06:21 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-05-24 21:06:21 -0400 |
commit | f9a2d091e9d3174b767221ce2f1379a6e86e80d0 (patch) | |
tree | 2201d041fbcddaa3eb23804eea5c3f8609f2e7c8 /engines/sherlock/talk.cpp | |
parent | b4849f21d27a296f0150937a0d833f2ffd1be507 (diff) | |
download | scummvm-rg350-f9a2d091e9d3174b767221ce2f1379a6e86e80d0.tar.gz scummvm-rg350-f9a2d091e9d3174b767221ce2f1379a6e86e80d0.tar.bz2 scummvm-rg350-f9a2d091e9d3174b767221ce2f1379a6e86e80d0.zip |
SHERLOCK: Fix script opcode table lookup
Diffstat (limited to 'engines/sherlock/talk.cpp')
-rw-r--r-- | engines/sherlock/talk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index 15b64090c7..8d553d65d0 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -1164,7 +1164,7 @@ void Talk::doScript(const Common::String &script) { // Start of comment, so skip over it while (*str++ != '}') ; - } else if (_opcodeTable[c]) { + } else if (_opcodeTable[c - 128]) { // Handle control code switch ((this->*_opcodeTable[c - 128])(str)) { case RET_EXIT: |