diff options
Diffstat (limited to 'engines/mohawk/myst_scripts.cpp')
-rw-r--r-- | engines/mohawk/myst_scripts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/myst_scripts.cpp b/engines/mohawk/myst_scripts.cpp index de9d67e8ff..279de90226 100644 --- a/engines/mohawk/myst_scripts.cpp +++ b/engines/mohawk/myst_scripts.cpp @@ -181,12 +181,12 @@ void MystScriptParser::runOpcode(uint16 op, uint16 var, uint16 argc, uint16 *arg warning("Trying to run invalid opcode %d", op); } -const char *MystScriptParser::getOpcodeDesc(uint16 op) { +const Common::String MystScriptParser::getOpcodeDesc(uint16 op) { for (uint16 i = 0; i < _opcodes.size(); i++) if (_opcodes[i]->op == op) return _opcodes[i]->desc; - return "unknown"; + return Common::String::format("%d", op); } MystScript MystScriptParser::readScript(Common::SeekableReadStream *stream, MystScriptType type) { |