SHERLOCK: Fix script opcode table lookup

This commit is contained in:
Paul Gilbert 2015-05-24 21:06:21 -04:00
parent b4849f21d2
commit f9a2d091e9

View File

@ -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: