浏览代码

Fixed @mute death immunity, bugreport:4960

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15014 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 13 年之前
父节点
当前提交
389f88c14f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/map/status.c

+ 1 - 1
src/map/status.c

@@ -5304,7 +5304,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
 	if( !sc )
 		return 0; //Unable to receive status changes
 	
-	if( status_isdead(bl) )
+	if( status_isdead(bl) && type != SC_NOCHAT ) // SC_NOCHAT should work even on dead characters
 		return 0;
 
 	if( bl->type == BL_MOB && type != SC_SAFETYWALL && type != SC_PNEUMA )