Fixed error in npc_path_data reference counting resulting in the script never getting really unloaded.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16706 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
greenboxal2 2012-08-26 01:19:52 +00:00
parent 3b91c64f1e
commit 69298d5191

View File

@ -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;