summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-21 15:20:35 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-21 15:20:35 +0000
commit12ade9e7c93b083948d5509e244cbbfaa668f305 (patch)
tree21108123cdd25484ee2239e72b80a0d7da1470d8 /src/map/unit.c
parent9d59b6a3431095b30ab8b2e10205f8a20ab85d9b (diff)
downloadhercules-12ade9e7c93b083948d5509e244cbbfaa668f305.tar.gz
hercules-12ade9e7c93b083948d5509e244cbbfaa668f305.tar.bz2
hercules-12ade9e7c93b083948d5509e244cbbfaa668f305.tar.xz
hercules-12ade9e7c93b083948d5509e244cbbfaa668f305.zip
Follow up to r15193, bugreport:5135
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15198 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 9471f6a9d..d36886d7f 100644
--- a/src/map/unit.c
+++ b/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();