summaryrefslogtreecommitdiff
path: root/src/emap/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/npc.c')
-rw-r--r--src/emap/npc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/npc.c b/src/emap/npc.c
index 5dee49d..e3a3a20 100644
--- a/src/emap/npc.c
+++ b/src/emap/npc.c
@@ -268,6 +268,7 @@ int enpc_unload_pre(struct npc_data** ndPtr,
{
struct npc_data *nd = *ndPtr;
nullpo_ret(nd);
+ map_alwaysVisible_delete(&nd->bl);
if (nd->subtype == SCRIPT)
{
if (nd->src_id != 0)