diff options
Diffstat (limited to 'src/char/int_homun.c')
-rw-r--r-- | src/char/int_homun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/int_homun.c b/src/char/int_homun.c index 492d8a76e..43d56359d 100644 --- a/src/char/int_homun.c +++ b/src/char/int_homun.c @@ -68,7 +68,7 @@ int inter_homun_fromstr(char *str,struct s_homunculus *p) p->hom_id = tmp_int[0]; p->class_ = tmp_int[1]; - memcpy(p->name, tmp_str, NAME_LENGTH-1); + memcpy(p->name, tmp_str, NAME_LENGTH); p->char_id = tmp_int[2]; p->hp = tmp_int[3]; |