summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorKomurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-30 12:36:11 +0000
committerKomurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-30 12:36:11 +0000
commit5d785af8d306ca511af52d49daf6b11ff0dc1f61 (patch)
tree05557c76b9c40fe1649322145fde7d9d9e159a87 /src/map/mob.c
parent3dbc82cb89e5fce90d2fbacdebfb8502a4469fb5 (diff)
downloadhercules-5d785af8d306ca511af52d49daf6b11ff0dc1f61.tar.gz
hercules-5d785af8d306ca511af52d49daf6b11ff0dc1f61.tar.bz2
hercules-5d785af8d306ca511af52d49daf6b11ff0dc1f61.tar.xz
hercules-5d785af8d306ca511af52d49daf6b11ff0dc1f61.zip
Moved MVP log code so it can log all MVP, not only when player gets MVP item, thanks to Hatred_
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5113 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index b315c5c43..3fc896391 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2703,12 +2703,11 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type)
log_pick(mvp_sd, "P", 0, item.nameid, 1, NULL);
}
- if(log_config.mvpdrop > 0)
- log_mvpdrop(mvp_sd, md->class_, log_mvp);
-
- break;
+ break;
}
+ if(log_config.mvpdrop > 0)
+ log_mvpdrop(mvp_sd, md->class_, log_mvp);
}
} // [MouseJstr]