From 551a50154623653a3d06b94a4968dc88ed54348c Mon Sep 17 00:00:00 2001 From: ac-stef Date: Mon, 7 Nov 2016 15:30:08 +0100 Subject: [PATCH] fix entity todo list --- source/src/worldio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/worldio.cpp b/source/src/worldio.cpp index 919696a0..ea1be513 100644 --- a/source/src/worldio.cpp +++ b/source/src/worldio.cpp @@ -1415,7 +1415,7 @@ void restorexmap(char **args, int numargs) // read an xmap from a cubescript f break; case 9: // todoent xmjigsaw->todoents.add(ATOI(args[1])); - xmjigsaw->todoentdescs.add(args[2]); + xmjigsaw->todoentdescs.add(newstring(args[2])); break; case 10: // position - this is also the last command and will finish the xmap {