summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-05 17:05:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-05 17:05:17 +0300
commit61205395749c082a9b5e607012504c98d9cdfbd4 (patch)
treeb18afda56844d49f6c346c9dba69369e1af0a2ae /src/map/init.c
parent0c0477399f132ac37a8dc07f86bb88b098502278 (diff)
downloadevol-hercules-61205395749c082a9b5e607012504c98d9cdfbd4.tar.gz
evol-hercules-61205395749c082a9b5e607012504c98d9cdfbd4.tar.bz2
evol-hercules-61205395749c082a9b5e607012504c98d9cdfbd4.tar.xz
evol-hercules-61205395749c082a9b5e607012504c98d9cdfbd4.zip
Impliment limited script function l.
without translations for now.
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/init.c b/src/map/init.c
index 9d840a4..8c65efe 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -15,12 +15,13 @@
#include "../../../map/script.h"
#include "map/dummy.h"
+#include "map/script.h"
#include "../../../common/HPMDataCheck.h" /* should always be the last file included! (if you don't make it last, it'll intentionally break compile time) */
HPExport struct hplugin_info pinfo =
{
- "evoldummy",
+ "evol_map",
SERVER_TYPE_MAP,
"0.1",
HPM_VERSION
@@ -48,8 +49,7 @@ HPExport void plugin_init (void) {
// addScriptCommand("mesn", "*", dummy);
// addScriptCommand("mesq", "s*", dummy);
// addScriptCommand("g", "ss", dummyStr);
- addScriptCommand("l", "s*", dummyStr);
- // must be ss
+ addScriptCommand("l", "s*", l);
addScriptCommand("lg", "s*", dummyStr);
addScriptCommand("getlang", "*", dummyStr);
addScriptCommand("setlang", "i", dummy);