From 9ee8489925582c65ad4cd8542fdec8c60577a3d1 Mon Sep 17 00:00:00 2001 From: amber Date: Mon, 6 Dec 2004 23:31:13 +0000 Subject: update git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@479 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/party.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/party.c b/src/map/party.c index d2f169565..1e5a3dbd1 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -589,7 +589,7 @@ int party_exp_share(struct party *p,int map,int base_exp,int job_exp,int zeny) if(c==0) return 0; for(i=0;imember[i].sd)!=NULL && sd->bl.m==map) { + if((sd=p->member[i].sd)!=NULL && sd->bl.m==map && session[sd->fd] != NULL) { #ifdef TWILIGHT pc_gainexp(sd,base_exp,job_exp); #else -- cgit v1.2.3-70-g09d2