summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
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;