summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgreenboxal2 <greenboxal2@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-25 04:52:55 +0000
committergreenboxal2 <greenboxal2@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-25 04:52:55 +0000
commita8c81ca65f67b8864845178a11aea1012b2229e7 (patch)
tree9640ead213a0bae36176ff91d29fee3cd7a093e3 /src
parent7853b6d1b84d3783a7f513ea877b4c52b120fc28 (diff)
downloadhercules-a8c81ca65f67b8864845178a11aea1012b2229e7.tar.gz
hercules-a8c81ca65f67b8864845178a11aea1012b2229e7.tar.bz2
hercules-a8c81ca65f67b8864845178a11aea1012b2229e7.tar.xz
hercules-a8c81ca65f67b8864845178a11aea1012b2229e7.zip
Fixed warning on mob.c.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15965 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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);