summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-23 01:51:17 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-23 01:51:17 +0000
commit726dfead1497c0c01c9725ab0a83d1b339226498 (patch)
tree77b7a10baf9406503ab75eb2acfc9f1e12133fee /src/map/intif.c
parent12a4dd862878f261de8863b81b1c5aecf4729d21 (diff)
downloadhercules-726dfead1497c0c01c9725ab0a83d1b339226498.tar.gz
hercules-726dfead1497c0c01c9725ab0a83d1b339226498.tar.bz2
hercules-726dfead1497c0c01c9725ab0a83d1b339226498.tar.xz
hercules-726dfead1497c0c01c9725ab0a83d1b339226498.zip
Rewrite inter server messaging
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@740 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.c')
-rw-r--r--src/map/intif.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/intif.c b/src/map/intif.c
index cf9d8ccee..fd79acc0c 100644
--- a/src/map/intif.c
+++ b/src/map/intif.c
@@ -130,6 +130,9 @@ int intif_GMmessage(char* mes,int len,int flag)
memcpy(WFIFOP(inter_fd,lp), mes, len);
WFIFOSET(inter_fd, WFIFOW(inter_fd,2));
+ // Send to the local players
+ clif_GMmessage(NULL, mes, len, 0);
+
return 0;
}
@@ -482,6 +485,7 @@ int intif_guild_message(int guild_id,int account_id,char *mes,int len)
WFIFOL(inter_fd,8)=account_id;
memcpy(WFIFOP(inter_fd,12),mes,len);
WFIFOSET(inter_fd,len+12);
+
return 0;
}
// ギルド競合チェック要求