From 2630f7d1fa82ff5a129efca35094da6b79a53fd0 Mon Sep 17 00:00:00 2001 From: valaris Date: Sat, 20 Nov 2004 14:38:18 +0000 Subject: Removed use of emote packet to send red mute icon. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@270 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index aa74f4e87..b0b0546aa 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -7774,6 +7774,8 @@ void clif_parse_Emotion(int fd, struct map_session_data *sd) { if (battle_config.basic_skill_check == 0 || pc_checkskill(sd, NV_BASIC) >= 2) { WBUFW(buf,0) = 0xc0; WBUFL(buf,2) = sd->bl.id; + if(RFIFOB(fd,2)==34) // prevent use of the mute emote [Valaris] + return; WBUFB(buf,6) = RFIFOB(fd,2); clif_send(buf, packet_len_table[0xc0], &sd->bl, AREA); } else -- cgit v1.2.3-70-g09d2