diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-27 18:49:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-27 18:49:48 +0300 |
commit | 9d55200e778ab9c98f051948083e4d7a4034a015 (patch) | |
tree | f78117badf9e7b6e10222d2872acde7e487850df /src/emap/init.c | |
parent | 2b4cd428adf9ca821776e101278a4afb26dd2b66 (diff) | |
download | plugin-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.c | 2 |
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); |