summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-15 14:43:22 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-15 14:43:22 +0000
commit8a2da0cdd5e7e28a8119442b4b9da816a9985250 (patch)
tree5d6a08abe2d15765a93253cdc7228394d4e3bc4f /src/map/clif.c
parent422a0536cfc1074f534cf31885b18807cdff6d80 (diff)
downloadhercules-8a2da0cdd5e7e28a8119442b4b9da816a9985250.tar.gz
hercules-8a2da0cdd5e7e28a8119442b4b9da816a9985250.tar.bz2
hercules-8a2da0cdd5e7e28a8119442b4b9da816a9985250.tar.xz
hercules-8a2da0cdd5e7e28a8119442b4b9da816a9985250.zip
- Fixed clif_GlobalMessage being the exact same function as clif_message (the fiirst should send to ALL_CLIENT and the later should send to AREA_CHAT_WOS). Should fix globalmes script command.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6596 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index fa243eb1e..4ea64c473 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -4938,7 +4938,7 @@ void clif_GlobalMessage(struct block_list *bl,char *message)
WBUFW(buf,2)=len+8;
WBUFL(buf,4)=bl->id;
strncpy((char *) WBUFP(buf,8),message,len);
- clif_send((unsigned char *) buf,WBUFW(buf,2),bl,AREA_CHAT_WOC);
+ clif_send((unsigned char *) buf,WBUFW(buf,2),bl,ALL_CLIENT);
}
/*==========================================