summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-09 20:29:23 +0100
committerHaru <haru@dotalux.com>2013-12-01 13:20:44 +0100
commit49d2dff6314486758832cad3403e1775c3fd7af3 (patch)
tree2560aff2e12568eccc0ae03827e33772790f0b58 /src/map/script.h
parentd1c60b8d70e1af8ec9be00fed902ab3a7ee69b56 (diff)
downloadhercules-49d2dff6314486758832cad3403e1775c3fd7af3.tar.gz
hercules-49d2dff6314486758832cad3403e1775c3fd7af3.tar.bz2
hercules-49d2dff6314486758832cad3403e1775c3fd7af3.tar.xz
hercules-49d2dff6314486758832cad3403e1775c3fd7af3.zip
Changed builtin keywords in the script engine to case sensitive.
- Any scripts using the wrong case, that were throwing deprecation warnings until now, will become invalid. - Related to bugreport:7810. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 75a57d82b..aace388ff 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -22,9 +22,9 @@ struct eri;
**/
// TODO: Remove temporary code
#define ENABLE_CASE_CHECK
-#define DeprecationWarning(func, bad, good, file, line) ShowWarning("%s: use of deprecated keyword '%s' (use '%s' instead) in file '%s', line '%d'. This will be a critical error in a near future.\n", (func), (bad), (good), (file), (line));
+#define DeprecationWarning(func, bad, good, file, line) ShowWarning("%s: use of deprecated keyword '%s' (use '%s' instead) in file '%s', line '%d'.\n", (func), (bad), (good), (file), (line));
#define DeprecationWarning2(func, bad, good, where) ShowWarning("%s: detected possible use of wrong case in a script. Found '%s', probably meant to be '%s' (in '%s'). This will become fatal in a near future.\n", (func), (bad), (good), (where));
-#define disp_deprecation_message(func, good, p) disp_warning_message(func": use of deprecated keyword (use '"good"' instead). This will be a critical error in a near future.", (p));
+#define disp_deprecation_message(func, good, p) disp_warning_message(func": use of deprecated keyword (use '"good"' instead).", (p));
#define NUM_WHISPER_VAR 10