summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-14 22:20:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-14 22:20:42 +0300
commit8b0242f57a9e1f335ebe20745253e8b0e4e501f1 (patch)
tree06d84afe00f4056ed98be179b0f18f47a1bf2d03
parentc5bbc349b176c045dab7e9ddea12cb18eee7a176 (diff)
downloadevol-hercules-8b0242f57a9e1f335ebe20745253e8b0e4e501f1.tar.gz
evol-hercules-8b0242f57a9e1f335ebe20745253e8b0e4e501f1.tar.bz2
evol-hercules-8b0242f57a9e1f335ebe20745253e8b0e4e501f1.tar.xz
evol-hercules-8b0242f57a9e1f335ebe20745253e8b0e4e501f1.zip
Mark script functions getlang and setlang as deprecated.
-rw-r--r--src/map/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/init.c b/src/map/init.c
index c0eef38..06002de 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -49,8 +49,8 @@ HPExport void plugin_init (void)
addScriptCommand("shop", "s", dummy);
addScriptCommand("getitemlink", "s", dummyStr);
addScriptCommand("l", "s*", l);
- addScriptCommand("getlang", "", getLang);
- addScriptCommand("setlang", "i", setLang);
+ addScriptCommandDeprecated("getlang", "", getLang);
+ addScriptCommandDeprecated("setlang", "i", setLang);
addScriptCommand("requestlang", "*", dummy);
addScriptCommand("getq", "i", dummyInt);
addScriptCommand("setq", "ii", dummy);