From d38a0b63bd821e043435b852a7dea9ad0f89262e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 19 Nov 2014 18:00:54 +0300 Subject: Impliment script commands setq and getq. --- src/map/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/init.c') 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); -- cgit v1.2.3-70-g09d2