From 1cb2393b42206891d0ebba9013cafd5dfcdf0a19 Mon Sep 17 00:00:00 2001 From: newfrenchy83 Date: Thu, 15 Apr 2021 23:47:40 +0200 Subject: [PATCH] fix anerror --- data/core/macros/deprecated-utils.cfg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/data/core/macros/deprecated-utils.cfg b/data/core/macros/deprecated-utils.cfg index b731360427b..b6397afe7a5 100644 --- a/data/core/macros/deprecated-utils.cfg +++ b/data/core/macros/deprecated-utils.cfg @@ -318,7 +318,7 @@ _"No gold carried over to the next scenario."#enddef #enddef # wmlindent: start ignoring -#define ROLWHILE ARRAY_VALUE VAR +#define FOREACH ARRAY_VALUE VAR #deprecated 1 You should use the [foreach] WML tag instead. # Macro to begin a WML clause that iterates over an array. {VARIABLE {VAR} 0} @@ -330,8 +330,8 @@ _"No gold carried over to the next scenario."#enddef [do] #enddef -#define ROLNEXT VAR -#deprecated 1 You should use the [foreach] WML tag instead of {ROLWHILE}. +#define NEXT VAR +#deprecated 1 You should use the [foreach] WML tag instead of {FOREACH}. # Macro to end a WML clause that iterates over an array. [set_variable] name={VAR} @@ -343,8 +343,8 @@ _"No gold carried over to the next scenario."#enddef #enddef # wmlindent: stop ignoring -# wmlindent: opener "{ROLWHILE " -# wmlindent: closer "{ROLNEXT " +# wmlindent: opener "{FOREACH " +# wmlindent: closer "{NEXT " #define DRAKE_FLYING_ANIM STANDING_IMAGE FLYING_IMAGE #deprecated 2