summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-27 18:49:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-27 18:49:48 +0300
commit9d55200e778ab9c98f051948083e4d7a4034a015 (patch)
treef78117badf9e7b6e10222d2872acde7e487850df /src/emap/init.c
parent2b4cd428adf9ca821776e101278a4afb26dd2b66 (diff)
downloadplugin-9d55200e778ab9c98f051948083e4d7a4034a015.tar.gz
plugin-9d55200e778ab9c98f051948083e4d7a4034a015.tar.bz2
plugin-9d55200e778ab9c98f051948083e4d7a4034a015.tar.xz
plugin-9d55200e778ab9c98f051948083e4d7a4034a015.zip
Allow setnpcsex works only with two parameters.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 624a7b8..17b1841 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -104,7 +104,7 @@ HPExport void plugin_init (void)
addScriptCommand("addmapmask", "si", addMapMask);
addScriptCommand("removemapmask", "si", removeMapMask);
addScriptCommand("getmapmask", "s", getMapMask);
- addScriptCommand("setnpcsex", "*", setNpcSex);
+ addScriptCommand("setnpcsex", "si", setNpcSex);
addScriptCommand("showavatar", "*", showAvatar);
addScriptCommand("setavatardir", "i", setAvatarDir);
addScriptCommand("setavataraction", "i", setAvatarAction);