summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-28 22:25:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-28 22:25:17 +0300
commit9220bec0adcd72d64e301cc9b5d6f9e1af6a4ab3 (patch)
tree3fbf5baa988727b49010b6f62ee3d6d8ff7c51b9 /src/map/init.c
parent5a5662d5615909e2274627001fd634712dee3bde (diff)
downloadplugin-9220bec0adcd72d64e301cc9b5d6f9e1af6a4ab3.tar.gz
plugin-9220bec0adcd72d64e301cc9b5d6f9e1af6a4ab3.tar.bz2
plugin-9220bec0adcd72d64e301cc9b5d6f9e1af6a4ab3.tar.xz
plugin-9220bec0adcd72d64e301cc9b5d6f9e1af6a4ab3.zip
Add script function setnpcsex.
New function: setnpcsex [names,] sex
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index 519ca02..361f019 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -79,6 +79,7 @@ HPExport void plugin_init (void)
addScriptCommand("removemapmask", "si", removeMapMask);
addScriptCommand("getmapmask", "s", getMapMask);
addScriptCommand("getnpcclass", "*", getNpcClass);
+ addScriptCommand("setnpcsex", "*", setNpcSex);
do_init_langs();