summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 6790d5e92..4ed031ecf 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -153,7 +153,7 @@ void mvptomb_create(struct mob_data *md, char *killer, time_t time)
if (killer)
safestrncpy(nd->u.tomb.killer_name, killer, NAME_LENGTH);
else
- nd->u.tomb.killer_name[0] = NULL;
+ nd->u.tomb.killer_name[0] = '\0';
map_addnpc(nd->bl.m, nd);
map_addblock(&nd->bl);