aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parser_ns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/parser_ns.cpp')
-rw-r--r--engines/parallaction/parser_ns.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/parser_ns.cpp b/engines/parallaction/parser_ns.cpp
index 909753e981..37aa9949c3 100644
--- a/engines/parallaction/parser_ns.cpp
+++ b/engines/parallaction/parser_ns.cpp
@@ -25,6 +25,7 @@
#include "parallaction/parallaction.h"
+#include "parallaction/parser.h"
#include "parallaction/sound.h"
namespace Parallaction {
@@ -1443,9 +1444,8 @@ void LocationParser_ns::parseDoorData(ZonePtr z) {
do {
if (!scumm_stricmp(_tokens[0], "slidetext")) {
- strcpy(_vm->_location._slideText[0], _tokens[1]);
-// printf("%s\t", _slideText[0]);
- strcpy(_vm->_location._slideText[1], _tokens[2]);
+ _vm->_location._slideText[0] = _tokens[1];
+ _vm->_location._slideText[1] = _tokens[2];
}
if (!scumm_stricmp(_tokens[0], "location")) {