summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index c955fa686..6d4c9b9cf 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -2331,7 +2331,7 @@ int unit_free(struct block_list *bl, clr_type clrtype)
}
if( mob_is_clone(md->class_) )
mob_clone_delete(md);
- if( md->tomb_nid )
+ if( md->tomb_npc )
mvptomb_destroy(md);
break;
}