diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-21 04:44:17 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-21 04:44:17 +0000 |
commit | 6ebcbc97b368716d194c01373be5b6638d33d589 (patch) | |
tree | c2b5f9804399ddc25866f435d6f45a1f2f729e04 /src/map/mob.c | |
parent | 6d64f843a7dab2c0d960c5af4ecaa46c5d81b182 (diff) | |
download | hercules-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/mob.c')
-rw-r--r-- | src/map/mob.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 97592d32b..740f67226 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2458,8 +2458,13 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) if(pcdb_checkid(md->vd->class_)) { //Player mobs are not removed automatically by the client. - clif_clearunit_delayed(&md->bl, tick+3000); - } + clif_clearunit_delayed(&md->bl, CLR_OUTSIGHT,tick+3000); + } else + /** + * We give the client some time to breath and this allows it to display anything it'd like with the dead corpose + * For example, this delay allows it to display soul drain effect + **/ + clif_clearunit_delayed(&md->bl, CLR_DEAD, tick+250); if(!md->spawn) //Tell status_damage to remove it from memory. return 5; // Note: Actually, it's 4. Oh well... |