diff options
author | panikon <panikon@zoho.com> | 2014-02-13 16:40:29 -0200 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-02-13 16:40:29 -0200 |
commit | 0642abcf9ef6e76861ee7d4b1a0b7f8bcd83f31f (patch) | |
tree | ec7b77587e8f536376a00942629dccd720be85c6 /src | |
parent | 94b80cf63ba464e956941459903af6df128951e0 (diff) | |
download | hercules-0642abcf9ef6e76861ee7d4b1a0b7f8bcd83f31f.tar.gz hercules-0642abcf9ef6e76861ee7d4b1a0b7f8bcd83f31f.tar.bz2 hercules-0642abcf9ef6e76861ee7d4b1a0b7f8bcd83f31f.tar.xz hercules-0642abcf9ef6e76861ee7d4b1a0b7f8bcd83f31f.zip |
Fixed bug 7934
http://hercules.ws/board/tracker/issue-7934-delnpc-missing-not-working/
From:
http://trac.rathena.org/changeset/17128/rathena
Thanks to kyeme
Diffstat (limited to 'src')
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c index 74b81f467..96595caae 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -3542,6 +3542,8 @@ void map_reloadnpc_sub(char *cfgName) npc->addsrcfile(w2); else if (strcmpi(w1, "import") == 0) map->reloadnpc_sub(w2); + else if (strcmpi(w1, "delnpc") == 0) + npc->delsrcfile(w2); else ShowWarning("Unknown setting '%s' in file %s\n", w1, cfgName); } |