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:
parent
3b91c64f1e
commit
69298d5191
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user