diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-05 17:05:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-05 17:05:17 +0300 |
commit | 61205395749c082a9b5e607012504c98d9cdfbd4 (patch) | |
tree | b18afda56844d49f6c346c9dba69369e1af0a2ae /src/map/init.c | |
parent | 0c0477399f132ac37a8dc07f86bb88b098502278 (diff) | |
download | evol-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.c | 6 |
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); |