summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-22 05:01:20 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-22 05:01:20 +0000
commitb292e29e093cb3b1cba367e6b4644abe68108ae0 (patch)
treed48b4730f66bd2412ecf4c95163dc915bdac825e /src/map/clif.c
parentf22af3e4a05b0b902f99bde638dd5464fc2d1a03 (diff)
downloadhercules-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/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 0a0db934a..67c925f75 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7964,6 +7964,10 @@ void clif_parse_GlobalMessage(int fd, struct map_session_data *sd) { // S 008c <
WFIFOW(fd,0) = 0x8e;
WFIFOSET(fd, WFIFOW(fd,2));
+#ifdef PCRE_SUPPORT
+ map_foreachinarea(npc_chat_sub, sd->bl.m, sd->bl.x-AREA_SIZE, sd->bl.y-AREA_SIZE, sd->bl.x+AREA_SIZE, sd->bl.y+AREA_SIZE, BL_NPC, RFIFOP(fd,4), strlen(RFIFOP(fd,4)), &sd->bl);
+#endif
+
// Celest
if (pc_calc_base_job2 (sd->status.class_) == 23 ) {
int next = pc_nextbaseexp(sd)>0 ? pc_nextbaseexp(sd) : sd->status.base_exp;