summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authormomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-27 22:39:58 +0000
committermomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-27 22:39:58 +0000
commit7a47bd731bc00b373c6105baad685bd8edeedbf6 (patch)
tree343a1447afbf304c61b7b11b407c170dcd929f31 /src/map/mob.c
parent09fff394aa3ea58393967f346adb7c2ca4bdc198 (diff)
downloadhercules-7a47bd731bc00b373c6105baad685bd8edeedbf6.tar.gz
hercules-7a47bd731bc00b373c6105baad685bd8edeedbf6.tar.bz2
hercules-7a47bd731bc00b373c6105baad685bd8edeedbf6.tar.xz
hercules-7a47bd731bc00b373c6105baad685bd8edeedbf6.zip
- Don't recall the player if it is on the same place as the recaller;
- Fixed part 2 of bugreport:4337, homunculus experience received now share with party members. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16973 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-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 72bc2ad86..acec51df6 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2191,7 +2191,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
else
job_exp = (unsigned int)cap_value(md->db->job_exp * per * bonus/100. * map[m].jexp/100., 1, UINT_MAX);
- if ((temp = tmpsd[i]->status.party_id)>0 && !md->dmglog[i].flag == MDLF_HOMUN) { //Homun-done damage (flag 1) is not given to party
+ if ((temp = tmpsd[i]->status.party_id)>0 /*&& !md->dmglog[i].flag == MDLF_HOMUN*/) { //Homun-done damage (flag 1) is given to party
int j;
for (j=0; j<pnum && pt[j].id!=temp; j++); //Locate party.