From 01f6ac5ca68d029aefd93481de076ca5eec33864 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Thu, 18 Oct 2007 14:21:46 +0000 Subject: * Clarified how npc names work in script_commands.txt. * Fixed a forgotten "return 0;" that stopped the parsing of the file after the first "script" of the file is parsed sucessfully (caused by r11502). * Applied the same parsing and restrictions of npc names to warps, duplicates and shops (other code expects unique names for them too). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11508 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/map.h') diff --git a/src/map/map.h b/src/map/map.h index 4a0223610..5cef74b07 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -830,8 +830,8 @@ struct npc_data { short n; short class_; short speed; - char name[NAME_LENGTH]; - char exname[NAME_LENGTH]; + char name[NAME_LENGTH+1];// display name + char exname[NAME_LENGTH+1];// unique npc name int chat_id; unsigned int next_walktime; -- cgit v1.2.3-60-g2f50