summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-08 17:24:07 -0300
committershennetsind <ind@henn.et>2013-06-08 17:24:07 -0300
commit60eb0c9e0527e80b7793e48d2cea47e3204b777c (patch)
tree3ee0d20f14dd5655463425a167f3e28d101b2874 /src/map/mob.c
parent27147633d447400d4a095a4166c64d3a0df4e078 (diff)
downloadhercules-60eb0c9e0527e80b7793e48d2cea47e3204b777c.tar.gz
hercules-60eb0c9e0527e80b7793e48d2cea47e3204b777c.tar.bz2
hercules-60eb0c9e0527e80b7793e48d2cea47e3204b777c.tar.xz
hercules-60eb0c9e0527e80b7793e48d2cea47e3204b777c.zip
Follow up d73783f22b2bb881aab74524d153d89a5932a199
Adjusting party.c interface name to adhere with the rest (pretty much we try to make it as short as we can, and being there were no conflicts we saw no reason to maintain the 'i') Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index d83bdec0c..04c4bba38 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1854,7 +1854,7 @@ static void mob_item_drop(struct mob_data *md, struct item_drop_list *dlist, str
&& check_distance_blxy(&sd->bl, dlist->x, dlist->y, AUTOLOOT_DISTANCE)
#endif
) { //Autoloot.
- if (iParty->share_loot(iParty->search(sd->status.party_id),
+ if (party->share_loot(party->search(sd->status.party_id),
sd, &ditem->item_data, sd->status.char_id) == 0
) {
ers_free(item_drop_ers, ditem);
@@ -2255,7 +2255,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
for( j = 0; j < pnum && pt[j].id != temp; j++ ); //Locate party.
if( j == pnum ){ //Possibly add party.
- pt[pnum].p = iParty->search(temp);
+ pt[pnum].p = party->search(temp);
if(pt[pnum].p && pt[pnum].p->party.exp) {
pt[pnum].id = temp;
pt[pnum].base_exp = base_exp;
@@ -2298,7 +2298,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
}
for( i = 0; i < pnum; i++ ) //Party share.
- iParty->exp_share(pt[i].p, &md->bl, pt[i].base_exp,pt[i].job_exp,pt[i].zeny);
+ party->exp_share(pt[i].p, &md->bl, pt[i].base_exp,pt[i].job_exp,pt[i].zeny);
} //End EXP giving.