summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 2c93bb4ba..472d1ba22 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2083,7 +2083,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
log_mvpdrop(mvp_sd, md->class_, log_mvp);
}
- if (flag&2 && !sd && md->class_ == MOBID_EMPERIUM)
+ if (type&2 && !sd && md->class_ == MOBID_EMPERIUM)
//Emperium destroyed by script. Discard mvp character. [Skotlex]
mvp_sd = NULL;