From ab496b0cbd29b7cc21002849b9ce43de674801ed Mon Sep 17 00:00:00 2001 From: greenboxal2 Date: Sun, 26 Aug 2012 01:19:52 +0000 Subject: Fixed error in npc_path_data reference counting resulting in the script never getting really unloaded. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16706 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/npc.c b/src/map/npc.c index b1def4a08..9a36e5815 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1969,7 +1969,7 @@ static void npc_parsename(struct npc_data* nd, const char* name, const char* sta CREATE(npd->path, char, strlen(filepath)+1); safestrncpy(npd->path, filepath, strlen(filepath)+1); - npd->references = 1; + npd->references = 0; } nd->path = npd->path; -- cgit v1.2.3-70-g09d2