summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-17 02:00:28 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-21 19:39:37 +0300
commit3b3b21a1b939097b9f96185893a8edf4214bd572 (patch)
tree899f2a0b0717d44765febce5513181a543e0766f /src/map/npc.c
parent5ce1b0ec7c0a8267bba7b163af5c7e4556fb3390 (diff)
downloadhercules-3b3b21a1b939097b9f96185893a8edf4214bd572.tar.gz
hercules-3b3b21a1b939097b9f96185893a8edf4214bd572.tar.bz2
hercules-3b3b21a1b939097b9f96185893a8edf4214bd572.tar.xz
hercules-3b3b21a1b939097b9f96185893a8edf4214bd572.zip
Remove unused PCRE_SUPPORT define.
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index acecff6d0..ae3cf56d0 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2276,9 +2276,7 @@ int npc_unload(struct npc_data* nd, bool single)
if (nd->chat_id) // remove npc chatroom object and kick users
chat->delete_npc_chat(nd);
-#ifdef PCRE_SUPPORT
npc_chat->finalize(nd); // deallocate npc PCRE data structures
-#endif
if (single && nd->path != NULL) {
npc->releasepathreference(nd->path);