summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-19 18:55:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-19 18:56:34 +0300
commit73defa73651a5e6f7683dc90ab465d19496b8cca (patch)
tree2b7e5ba8e7369e31812c5529aefcca8d5dfe333c /src/emap/init.c
parent6eb6d10d8e1f4fa01d6a5bdc222149cd8552eb6a (diff)
downloadplugin-73defa73651a5e6f7683dc90ab465d19496b8cca.tar.gz
plugin-73defa73651a5e6f7683dc90ab465d19496b8cca.tar.bz2
plugin-73defa73651a5e6f7683dc90ab465d19496b8cca.tar.xz
plugin-73defa73651a5e6f7683dc90ab465d19496b8cca.zip
Add extended mount support.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index cfa8940..4d55b42 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -119,7 +119,6 @@ HPExport void plugin_init (void)
addScriptCommand("ispcdead", "", isPcDead);
addScriptCommand("areatimer", "siiiii*", areaTimer);
addScriptCommand("getareadropitem", "siiiiv*", getAreaDropItem);
- addScriptCommand("setmount", "?", setMount);
addScriptCommand("clientcommand", "s", clientCommand);
addScriptCommand("isunitwalking", "?", isUnitWalking);
addScriptCommand("failedrefindex", "i", failedRefIndex);
@@ -130,6 +129,7 @@ HPExport void plugin_init (void)
addScriptCommand("checknpccell", "siii", checkNpcCell);
addScriptCommand("setcells", "siiiiis", setCells);
addScriptCommand("delcells", "s", delCells);
+ addScriptCommand("setmount", "i", setMount);
do_init_langs();
@@ -229,7 +229,7 @@ HPExport void plugin_init (void)
addHookPost("pc->insert_card", epc_insert_card_post);
langScriptId = script->add_str("Lang");
- mountScriptId = script->add_str("Mount");
+ mountScriptId = script->add_str("mount");
}
HPExport void server_preinit (void)