summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-19 18:00:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-19 18:00:54 +0300
commitd38a0b63bd821e043435b852a7dea9ad0f89262e (patch)
treec6abb9c92424800c62b037b9a4a760a71b978832 /src/map/init.c
parent7966264fdf4271c8b247d572c2eadef88dcaf4b4 (diff)
downloadevol-hercules-d38a0b63bd821e043435b852a7dea9ad0f89262e.tar.gz
evol-hercules-d38a0b63bd821e043435b852a7dea9ad0f89262e.tar.bz2
evol-hercules-d38a0b63bd821e043435b852a7dea9ad0f89262e.tar.xz
evol-hercules-d38a0b63bd821e043435b852a7dea9ad0f89262e.zip
Impliment script commands setq and getq.
Diffstat (limited to 'src/map/init.c')
-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 795a331..dbce79c 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -109,8 +109,8 @@ HPExport void plugin_init (void)
addScriptCommandDeprecated("getlang", "", getLang);
addScriptCommandDeprecated("setlang", "i", setLang);
addScriptCommand("requestlang", "v", requestLang);
- addScriptCommand("getq", "i", dummyInt);
- addScriptCommand("setq", "ii", dummy);
+ addScriptCommand("getq", "i", getq);
+ addScriptCommand("setq", "ii", setq);
addScriptCommand("getnpcdir", "*", dummyInt);
addScriptCommand("setnpcdir", "*", dummy);
addScriptCommand("rif", "is*", dummyStr);