summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/map.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 06b39129e..83f6b855e 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1981,6 +1981,9 @@ int map_removemobs_sub(struct block_list *bl, va_list ap)
nullpo_retr(0, md);
//When not to remove:
+ //Mob doesn't respawn and is not a slave
+ if( !md->spawn && !md->master_id )
+ return 0;
//Mob respawn data is not in cache
if( md->spawn && !md->spawn->state.dynamic )
return 0;