diff options
author | D G Turner | 2013-07-14 05:04:02 +0100 |
---|---|---|
committer | D G Turner | 2013-07-14 05:04:02 +0100 |
commit | 1946dead77378bbf16cb1ed65c9937226c749a5e (patch) | |
tree | 6c16b89d50d38cd65fb89e6d6ca3b947b710b62f /engines | |
parent | a986df44e8a75885e2891be750bb486188c7f6c0 (diff) | |
download | scummvm-rg350-1946dead77378bbf16cb1ed65c9937226c749a5e.tar.gz scummvm-rg350-1946dead77378bbf16cb1ed65c9937226c749a5e.tar.bz2 scummvm-rg350-1946dead77378bbf16cb1ed65c9937226c749a5e.zip |
TUCKER: Fix for bug #3614697 - "Spanish version uncompletable..."
This add support for the unhandled "mof" instruction present in the
Spanish version. This effectively skips it as a NOP/invalid, which
prevents it locking up the game at the end of the 2nd part.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tucker/tucker.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp index 6b538a6fde..e3fd928e6c 100644 --- a/engines/tucker/tucker.cpp +++ b/engines/tucker/tucker.cpp @@ -2991,6 +2991,7 @@ enum TableInstructionCode { kCode_gfg, kCode_gv, kCode_loc, + kCode_mof, kCode_opt, kCode_opf, kCode_ofg, @@ -3041,6 +3042,7 @@ static const struct { { "gfg", kCode_gfg }, { "gv", kCode_gv }, { "loc", kCode_loc }, + { "mof", kCode_mof }, { "opt", kCode_opt }, { "opf", kCode_opf }, { "ofg", kCode_ofg }, @@ -3232,6 +3234,9 @@ int TuckerEngine::executeTableInstruction() { case kCode_loc: _nextLocationNum = readTableInstructionParam(2); return 1; + case kCode_mof: + // TODO: Unknown opcode in Spanish version. Identify if this has any function. + return 2; case kCode_opt: _conversationOptionsCount = readTableInstructionParam(2); for (i = 0; i < _conversationOptionsCount; ++i) { |