diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-07 03:36:01 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-07 03:36:01 +0000 |
commit | 3449f67a5458e8ec87027e3bfc50af30ac7b5397 (patch) | |
tree | 53e902e40c500b672609a1dc470e2117e40a16af /src/map/mob.c | |
parent | 8081589782ca857622c3d1c06e80894519a3bd46 (diff) | |
download | hercules-3449f67a5458e8ec87027e3bfc50af30ac7b5397.tar.gz hercules-3449f67a5458e8ec87027e3bfc50af30ac7b5397.tar.bz2 hercules-3449f67a5458e8ec87027e3bfc50af30ac7b5397.tar.xz hercules-3449f67a5458e8ec87027e3bfc50af30ac7b5397.zip |
- Solved an ambiguous if in mob_dead.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7026 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 8e23f9f78..574362daa 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2131,11 +2131,13 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) map_freeblock_unlock(); - if(pcdb_checkid(md->vd->class_)) //Player mobs are not removed automatically by the client. + if(pcdb_checkid(md->vd->class_)) + { //Player mobs are not removed automatically by the client. if(md->nd) return 1; // Let the dead body stay there.. we have something to do with it :D else clif_clearchar_delay(tick+3000,&md->bl,0); + } if(!md->spawn) //Tell status_damage to remove it from memory. return 5; // Note: Actually, it's 4. Oh well... |