summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-21 04:44:17 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-21 04:44:17 +0000
commit6ebcbc97b368716d194c01373be5b6638d33d589 (patch)
treec2b5f9804399ddc25866f435d6f45a1f2f729e04 /src/map/unit.c
parent6d64f843a7dab2c0d960c5af4ecaa46c5d81b182 (diff)
downloadhercules-6ebcbc97b368716d194c01373be5b6638d33d589.tar.gz
hercules-6ebcbc97b368716d194c01373be5b6638d33d589.tar.bz2
hercules-6ebcbc97b368716d194c01373be5b6638d33d589.tar.xz
hercules-6ebcbc97b368716d194c01373be5b6638d33d589.zip
Fixed soul drain visual effect not being displayed to mobs, bugreport:2980
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15193 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 6ca85aba1..e7f7fffce 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -2107,8 +2107,11 @@ int unit_remove_map_(struct block_list *bl, clr_type clrtype, const char* file,
}
default: ;// do nothing
}
-
- clif_clearunit_area(bl,clrtype);
+ /**
+ * BL_MOB is handled by mob_dead
+ **/
+ if( bl->type != BL_MOB )
+ clif_clearunit_area(bl,clrtype);
map_delblock(bl);
map_freeblock_unlock();
return 1;