summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2012-04-04 11:24:06 -0700
committerBen Longbons <b.r.longbons@gmail.com>2012-04-04 11:24:06 -0700
commit559b302494f4b54e0280504defee650e5e43f8e7 (patch)
tree3055823e02431847f5684f859ca023baa92585b4
parente3f50ad65926766f29302ee654938b3365043d4e (diff)
downloadtmwa-559b302494f4b54e0280504defee650e5e43f8e7.tar.gz
tmwa-559b302494f4b54e0280504defee650e5e43f8e7.tar.bz2
tmwa-559b302494f4b54e0280504defee650e5e43f8e7.tar.xz
tmwa-559b302494f4b54e0280504defee650e5e43f8e7.zip
Make chat range the same as vision range.
Thanks to Derpella for nagging me enough to realize this.
-rw-r--r--src/map/clif.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 11b1f83..2cf8d33 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -382,10 +382,10 @@ int clif_send (unsigned char *buf, int len, struct block_list *bl, int type)
bl->y + AREA_SIZE, BL_PC, buf, len, bl, type);
break;
case AREA_CHAT_WOC:
- map_foreachinarea (clif_send_sub, bl->m, bl->x - (AREA_SIZE - 5),
- bl->y - (AREA_SIZE - 5),
- bl->x + (AREA_SIZE - 5),
- bl->y + (AREA_SIZE - 5), BL_PC, buf, len, bl,
+ map_foreachinarea (clif_send_sub, bl->m, bl->x - (AREA_SIZE),
+ bl->y - (AREA_SIZE),
+ bl->x + (AREA_SIZE),
+ bl->y + (AREA_SIZE), BL_PC, buf, len, bl,
AREA_CHAT_WOC);
break;
case CHAT: