summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-28 16:03:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-28 16:03:23 +0300
commiteb2a8c8519ad566e2b2dfae18d11acc8478a85fc (patch)
tree29c8c07e6f8c41957c88ff7a62db286f93b9593c /src/map/init.c
parent905642f167858017e1fa1582f6253da3c9a8ff97 (diff)
downloadevol-hercules-eb2a8c8519ad566e2b2dfae18d11acc8478a85fc.tar.gz
evol-hercules-eb2a8c8519ad566e2b2dfae18d11acc8478a85fc.tar.bz2
evol-hercules-eb2a8c8519ad566e2b2dfae18d11acc8478a85fc.tar.xz
evol-hercules-eb2a8c8519ad566e2b2dfae18d11acc8478a85fc.zip
Add script command "getnpcclass".
Format: getnpcclass ([NAME])
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 e22bcba..519ca02 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -78,6 +78,7 @@ HPExport void plugin_init (void)
addScriptCommand("addmapmask", "si", addMapMask);
addScriptCommand("removemapmask", "si", removeMapMask);
addScriptCommand("getmapmask", "s", getMapMask);
+ addScriptCommand("getnpcclass", "*", getNpcClass);
do_init_langs();