diff options
author | Komurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-30 12:36:11 +0000 |
---|---|---|
committer | Komurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-01-30 12:36:11 +0000 |
commit | 5d785af8d306ca511af52d49daf6b11ff0dc1f61 (patch) | |
tree | 05557c76b9c40fe1649322145fde7d9d9e159a87 /src | |
parent | 3dbc82cb89e5fce90d2fbacdebfb8502a4469fb5 (diff) | |
download | hercules-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')
-rw-r--r-- | src/map/mob.c | 7 |
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]
|