ソースを参照

- Fixed the "fake" mute status bug

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6677 54d463be-8e91-2dee-dedb-b68131a5f0ec
Zido 19 年 前
コミット
c10e8877aa
2 ファイル変更7 行追加1 行削除
  1. 3 0
      Changelog-Trunk.txt
  2. 4 1
      src/map/status.c

+ 3 - 0
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]

+ 4 - 1
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:	//ƒ`ƒƒƒbƒg‹ÖŽ~?‘Ô
 			{
-				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;