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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 70fac3c5c..3e8e51942 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1567,6 +1567,7 @@ int npc_unload(struct npc_data *nd)
if (nd->u.scr.label_list) {
aFree(nd->u.scr.label_list);
nd->u.scr.label_list = NULL;
+ nd->u.scr.label_list_num = 0;
}
}
}