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 f80b9c226..d3bf14381 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2056,6 +2056,9 @@ int map_removemobs_sub(struct block_list *bl, va_list ap)
// is damaged and mob_remove_damaged is off
if( !battle_config.mob_remove_damaged && md->status.hp < md->status.max_hp )
return 0;
+ // is a mvp
+ if( md->db->mexp > 0 )
+ return 0;
unit_free(&md->bl,0);