summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 8d9b69626..65331f343 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1694,7 +1694,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
*mvp_sd = NULL, *second_sd = NULL,*third_sd = NULL;
struct {
- struct party *p;
+ struct party_data *p;
int id,zeny;
unsigned int base_exp,job_exp;
} pt[DAMAGELOG_SIZE];
@@ -1870,7 +1870,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
if(j==pnum){ //Possibly add party.
pt[pnum].p = party_search(temp);
- if(pt[pnum].p && pt[pnum].p->exp)
+ if(pt[pnum].p && pt[pnum].p->party.exp)
{
pt[pnum].id=temp;
pt[pnum].base_exp=base_exp;