From 769e8ac9c17779a15492d7fcfc1931c014670c2d Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 25 Mar 2014 21:46:21 -0700 Subject: Add deprecation warnings for script syntax changes --- src/map/npc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/npc.cpp') diff --git a/src/map/npc.cpp b/src/map/npc.cpp index 42ec4fa..dd75691 100644 --- a/src/map/npc.cpp +++ b/src/map/npc.cpp @@ -1228,7 +1228,7 @@ int npc_parse_script(XString w1, XString w2, NpcName w3, ZString w4, srcbuf += line; srcbuf += '\n'; } - script = parse_script(AString(srcbuf), startline); + script = parse_script(AString(srcbuf), startline, false); if (script == NULL) // script parse error? return 1; @@ -1419,7 +1419,7 @@ int npc_parse_function(XString, XString, XString w3, ZString, srcbuf += line; srcbuf += '\n'; } - std::unique_ptr script = parse_script(AString(srcbuf), startline); + std::unique_ptr script = parse_script(AString(srcbuf), startline, false); if (script == NULL) { // script parse error? -- cgit v1.2.3-70-g09d2