diff options
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c index 1ea7498f5..e69d5956c 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -2025,7 +2025,11 @@ int mob_cache_cleanup_sub(struct block_list *bl, va_list ap) { return 0; if (!battle_config.mob_remove_damaged && md->status.hp < md->status.max_hp) + { + if (md->spawn && md->spawn_n >= 0) //Do not respawn mob later. + map[md->spawn->m].moblist[md->spawn_n]->skip++; return 0; //Do not remove damaged mobs. + } unit_free(&md->bl,0); |