summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 4e0c009ab..43fb6202c 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2799,6 +2799,7 @@ static int mob_dead(struct mob_data *md, struct block_list *src, int type)
pc->setparam(sd, SP_KILLERRID, sd->bl.id);
npc->event(sd,md->npc_event,0);
} else if( mvp_sd ) {
+ pc->setparam(mvp_sd, SP_KILLEDRID, md->class_);
pc->setparam(mvp_sd, SP_KILLERRID, sd?sd->bl.id:0);
npc->event(mvp_sd,md->npc_event,0);
} else