diff options
Diffstat (limited to 'engines/parallaction/parser_ns.cpp')
-rw-r--r-- | engines/parallaction/parser_ns.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/parser_ns.cpp b/engines/parallaction/parser_ns.cpp index 710f00ee4d..622682651a 100644 --- a/engines/parallaction/parser_ns.cpp +++ b/engines/parallaction/parser_ns.cpp @@ -195,7 +195,7 @@ void LocationParser_ns::warning_unexpected() { DECLARE_ANIM_PARSER(script) { debugC(7, kDebugParser, "ANIM_PARSER(script) "); - ctxt.a->_scriptName = strdup(_tokens[1]); + ctxt.a->_scriptName = _tokens[1]; } @@ -643,7 +643,7 @@ DECLARE_COMMAND_PARSER(location) { createCommand(_parser->_lookup); - ctxt.cmd->_string = strdup(_tokens[ctxt.nextToken]); + ctxt.cmd->_string = _tokens[ctxt.nextToken]; ctxt.nextToken++; parseCommandFlags(); |