summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-18 21:33:11 +0200
committerHaru <haru@dotalux.com>2014-10-18 21:33:11 +0200
commitda9534fa2cd8b6f19896d0b7423abdfe7e3b4543 (patch)
treebccec345053390d7492f0e2e757a74e41e74363a /src/map/script.h
parent243f4a871690f53cb9c33406be0b00f9045fcec0 (diff)
downloadhercules-da9534fa2cd8b6f19896d0b7423abdfe7e3b4543.tar.gz
hercules-da9534fa2cd8b6f19896d0b7423abdfe7e3b4543.tar.bz2
hercules-da9534fa2cd8b6f19896d0b7423abdfe7e3b4543.tar.xz
hercules-da9534fa2cd8b6f19896d0b7423abdfe7e3b4543.zip
Renamed DeprecationWarning to DeprecationCaseWarning, since that's what it is about.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 48abf1487..54b3835a7 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -26,9 +26,9 @@ struct eri;
// TODO: Remove temporary code
#define ENABLE_CASE_CHECK
#define get_script_source(source) ((source) ? (source) : "Unknown (Possibly source or variables stored in database")
-#define DeprecationWarning(func, bad, good, file, line) ShowError("%s: use of deprecated keyword '%s' (use '%s' instead) in file '%s', line '%d'.\n", (func), (bad), (good), get_script_source(file), (line));
-#define DeprecationWarning2(func, bad, good, where) ShowError("%s: detected possible use of wrong case in a script. Found '%s', probably meant to be '%s' (in '%s').\n", (func), (bad), (good), get_script_source(where));
-#define disp_deprecation_message(func, good, p) disp_warning_message(func": use of deprecated keyword (use '"good"' instead).", (p));
+#define DeprecationCaseWarning(func, bad, good, file, line) ShowError("%s: use of deprecated keyword '%s' (use '%s' instead) in file '%s', line '%d'.\n", (func), (bad), (good), get_script_source(file), (line))
+#define DeprecationCaseWarning2(func, bad, good, where) ShowError("%s: detected possible use of wrong case in a script. Found '%s', probably meant to be '%s' (in '%s').\n", (func), (bad), (good), get_script_source(where))
+#define disp_deprecation_message(func, good, p) disp_warning_message(func": use of deprecated keyword (use '"good"' instead).", (p))
#define NUM_WHISPER_VAR 10