mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-25 11:15:00 +00:00
SHERLOCK: Fix script opcode table lookup
This commit is contained in:
parent
b4849f21d2
commit
f9a2d091e9
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user