summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorZido <Zido@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-21 11:55:20 +0000
committerZido <Zido@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-21 11:55:20 +0000
commitc1cffe4a37d19043537a7580305d4283420015dd (patch)
treeb5a294bb49de88680e0952295b1fc6a2f872e03f /src/map/status.c
parente3f656e1115d731c6b3fb0a6f5a645e93e588bc3 (diff)
downloadhercules-c1cffe4a37d19043537a7580305d4283420015dd.tar.gz
hercules-c1cffe4a37d19043537a7580305d4283420015dd.tar.bz2
hercules-c1cffe4a37d19043537a7580305d4283420015dd.tar.xz
hercules-c1cffe4a37d19043537a7580305d4283420015dd.zip
- Fixed the "fake" mute status bug
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6677 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index b113cfa21..048fbe19e 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4151,8 +4151,11 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
break;
case SC_NOCHAT: //チャット禁止?態
{
- if(!battle_config.muting_players)
+ if(!battle_config.muting_players) {
+ sd->status.manner = 0; //Zido
+ status_change_end(&sd->bl,SC_NOCHAT,-1); //Zido
return 0;
+ }
if (!(flag&4))
tick = 60000;