summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-10 08:08:59 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-10 08:08:59 +0000
commit1937aba62081e8d39de0f9cc80ffa19c99e6a5ce (patch)
tree48f0ac3fb8be247ec5246100f4f11e9cc41b7bca /src/map/mob.c
parent7e14af8bdab92fe3651e1de0471cfbd48e6753b3 (diff)
downloadhercules-1937aba62081e8d39de0f9cc80ffa19c99e6a5ce.tar.gz
hercules-1937aba62081e8d39de0f9cc80ffa19c99e6a5ce.tar.bz2
hercules-1937aba62081e8d39de0f9cc80ffa19c99e6a5ce.tar.xz
hercules-1937aba62081e8d39de0f9cc80ffa19c99e6a5ce.zip
Some small code cleaning
- removed unused create_storage() function - removed unused char_db mapserver config setting - adjusted formatting of mapserver config loading code git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13063 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 226530472..3347f51fa 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2542,8 +2542,9 @@ 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.
+ { //Player mobs are not removed automatically by the client.
clif_clearunit_delayed(&md->bl, tick+3000);
+ }
if(!md->spawn) //Tell status_damage to remove it from memory.
return 5; // Note: Actually, it's 4. Oh well...