summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.h')
-rw-r--r--src/map/npc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index 9aae58d3c..dcb112966 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -31,8 +31,8 @@ struct npc_data {
struct npc_data *master_nd;
short class_;
short speed;
- char name[NAME_LENGTH];// display name
- char exname[NAME_LENGTH];// unique npc name
+ char name[NAME_LENGTH+1];// display name
+ char exname[NAME_LENGTH+1];// unique npc name
int chat_id;
unsigned int next_walktime;