From 04efdbc24c29454553fa598e5b077d0304784d89 Mon Sep 17 00:00:00 2001 From: cydh Date: Thu, 27 Jun 2013 17:43:39 +0000 Subject: [PATCH] follow-up r17384 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17389 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/map/mob.c b/src/map/mob.c index 7a3a276c8e..7238768641 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2166,8 +2166,6 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) case MDLF_HOMUN: dmgbltypes|= BL_HOM; break; case MDLF_PET: dmgbltypes|= BL_PET; break; } - if( md->db->mexp ) - pc_damage_log_clear(tsd,md->bl.id); } // determines, if the monster was killed by homunculus' damage only @@ -2304,6 +2302,9 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) if(zeny) // zeny from mobs [Valaris] pc_getzeny(tmpsd[i], zeny, LOG_TYPE_PICKDROP_MONSTER, NULL); } + + if( md->db->mexp ) + pc_damage_log_clear(tmpsd[i],md->bl.id); } for( i = 0; i < pnum; i++ ) //Party share.