summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-23 05:11:57 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-23 05:11:57 +0000
commit30b5d44d52d1f6715c44e6f266a756a59acb2c59 (patch)
treef99901f1449f5ac653e6450536ef2c2f4ed0b88a /src/map/party.c
parent99a019db1a619837f3e3bf6820ee525ee1af802a (diff)
downloadhercules-30b5d44d52d1f6715c44e6f266a756a59acb2c59.tar.gz
hercules-30b5d44d52d1f6715c44e6f266a756a59acb2c59.tar.bz2
hercules-30b5d44d52d1f6715c44e6f266a756a59acb2c59.tar.xz
hercules-30b5d44d52d1f6715c44e6f266a756a59acb2c59.zip
Update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@745 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 075209f7e..9443608fb 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -591,6 +591,8 @@ int party_exp_share(struct party *p,int map,int base_exp,int job_exp,int zeny)
return 0;
for(i=0;i<MAX_PARTY;i++)
if((sd=p->member[i].sd)!=NULL && sd->bl.m==map && session[sd->fd] != NULL) {
+ if (/* pc_issit(sd) || */ (sd->chatID != NULL) || (sd->idletime < (time(0) - 120)))
+ continue;
#ifdef TWILIGHT
pc_gainexp(sd,base_exp,job_exp);
#else