summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/status.c5
2 files changed, 7 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 498cd3163..f8a3e69ec 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,9 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2006/05/21
+ * Fixed the "fake" mute status bug. [Zido]
+
2006/05/19
* Speed up array size calculation and deletion. [Lance]
* Player must learn the skill before doing auto-spell [Lance]
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;