diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-22 05:01:20 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-22 05:01:20 +0000 |
commit | b292e29e093cb3b1cba367e6b4644abe68108ae0 (patch) | |
tree | d48b4730f66bd2412ecf4c95163dc915bdac825e /src/map/npc.c | |
parent | f22af3e4a05b0b902f99bde638dd5464fc2d1a03 (diff) | |
download | hercules-b292e29e093cb3b1cba367e6b4644abe68108ae0.tar.gz hercules-b292e29e093cb3b1cba367e6b4644abe68108ae0.tar.bz2 hercules-b292e29e093cb3b1cba367e6b4644abe68108ae0.tar.xz hercules-b292e29e093cb3b1cba367e6b4644abe68108ae0.zip |
PCRE updates
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1157 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 1ba55699f..54a35c51c 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -153,6 +153,10 @@ int npc_delete(struct npc_data *nd) if(nd->bl.prev == NULL) return 1; +#ifdef PCRE_SUPPORT + npc_chat_finalize(nd); +#endif + clif_clearchar_area(&nd->bl,1); map_delblock(&nd->bl); return 0; |