diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-18 14:21:46 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-18 14:21:46 +0000 |
commit | 01f6ac5ca68d029aefd93481de076ca5eec33864 (patch) | |
tree | 1a7b7ef2cb1f2591f92fa125717e1fa0dac6f6e3 /src/map/map.h | |
parent | f20c6c19cda1c672ed93836ddd33ce8e08e104c9 (diff) | |
download | hercules-01f6ac5ca68d029aefd93481de076ca5eec33864.tar.gz hercules-01f6ac5ca68d029aefd93481de076ca5eec33864.tar.bz2 hercules-01f6ac5ca68d029aefd93481de076ca5eec33864.tar.xz hercules-01f6ac5ca68d029aefd93481de076ca5eec33864.zip |
* 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
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |