瀏覽代碼

Follow up to r15193, bugreport:5135

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15198 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 13 年之前
父節點
當前提交
77a4e0d2e3
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/map/unit.c

+ 2 - 2
src/map/unit.c

@@ -2108,9 +2108,9 @@ int unit_remove_map_(struct block_list *bl, clr_type clrtype, const char* file,
 	default: ;// do nothing
 	}
 	/**
-	 * BL_MOB is handled by mob_dead
+	 * BL_MOB is handled by mob_dead unless the monster is not dead.
 	 **/
-	if( bl->type != BL_MOB )
+	if( bl->type != BL_MOB || !status_isdead(bl) )
 		clif_clearunit_area(bl,clrtype);
 	map_delblock(bl);
 	map_freeblock_unlock();