From 0642abcf9ef6e76861ee7d4b1a0b7f8bcd83f31f Mon Sep 17 00:00:00 2001 From: panikon Date: Thu, 13 Feb 2014 16:40:29 -0200 Subject: 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 --- src/map/map.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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); } -- cgit v1.2.3-70-g09d2