diff options
author | Matthew Hoops | 2010-12-01 03:39:47 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-12-01 03:39:47 +0000 |
commit | 13c1540522da35fc6f63f36ddaa3fc19ed69d860 (patch) | |
tree | bbdb898e1005159574be0ae063fcc48e775d0f1d /engines | |
parent | bdc3e5c353ff1ea82e618e9cf83624ce35cf781b (diff) | |
download | scummvm-rg350-13c1540522da35fc6f63f36ddaa3fc19ed69d860.tar.gz scummvm-rg350-13c1540522da35fc6f63f36ddaa3fc19ed69d860.tar.bz2 scummvm-rg350-13c1540522da35fc6f63f36ddaa3fc19ed69d860.zip |
MOHAWK: Downgrade the Myst unknown op error to a warning as new ones have been uncovered
svn-id: r54694
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/myst_scripts.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/mohawk/myst_scripts.cpp b/engines/mohawk/myst_scripts.cpp index b140542136..c4bc72c82b 100644 --- a/engines/mohawk/myst_scripts.cpp +++ b/engines/mohawk/myst_scripts.cpp @@ -178,7 +178,7 @@ void MystScriptParser::runOpcode(uint16 op, uint16 var, uint16 argc, uint16 *arg } if (!ranOpcode) - error("Trying to run invalid opcode %d", op); + warning("Trying to run invalid opcode %d", op); } const char *MystScriptParser::getOpcodeDesc(uint16 op) { @@ -186,8 +186,7 @@ const char *MystScriptParser::getOpcodeDesc(uint16 op) { if (_opcodes[i]->op == op) return _opcodes[i]->desc; - error("Unknown opcode %d", op); - return ""; + return "unknown"; } MystScript MystScriptParser::readScript(Common::SeekableReadStream *stream, MystScriptType type) { |