diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-09-02 20:23:46 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-09-02 20:23:46 -0300 |
commit | 509db24d2aebea63162bd3699275015f1c92cb7a (patch) | |
tree | 18faa61479e1979c0aa6808cd7c0d6ce59093ddc /src/emap/init.c | |
parent | 981c4a67825790a2fb2e1bf22242c6efe4e65967 (diff) | |
download | evol-hercules-509db24d2aebea63162bd3699275015f1c92cb7a.tar.gz evol-hercules-509db24d2aebea63162bd3699275015f1c92cb7a.tar.bz2 evol-hercules-509db24d2aebea63162bd3699275015f1c92cb7a.tar.xz evol-hercules-509db24d2aebea63162bd3699275015f1c92cb7a.zip |
Accept optional param - NPC NAME - on npcwalkto() script function
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 b663268..f2e781a 100644 --- a/src/emap/init.c +++ b/src/emap/init.c @@ -156,7 +156,7 @@ HPExport void plugin_init (void) addScriptCommand("setnpcdir", "*", setNpcDir); addScriptCommand("npcsit", "*", npcSit); addScriptCommand("npcstand", "*", npcStand); - addScriptCommand("npcwalkto", "ii", npcWalkTo); + addScriptCommand("npcwalkto", "ii?", npcWalkTo); addScriptCommand("rif", "is*", rif); addScriptCommand("setmapmask", "si", setMapMask); addScriptCommand("sendmapmask", "i*", sendMapMask); |