diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-06 23:31:13 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-06 23:31:13 +0000 |
commit | 9ee8489925582c65ad4cd8542fdec8c60577a3d1 (patch) | |
tree | 2ecea80cfdf227c82471c0ab68a2d0c32d644202 | |
parent | b6eaa63a066abf71ef95f89f2e49465f2a9ba6e3 (diff) | |
download | hercules-9ee8489925582c65ad4cd8542fdec8c60577a3d1.tar.gz hercules-9ee8489925582c65ad4cd8542fdec8c60577a3d1.tar.bz2 hercules-9ee8489925582c65ad4cd8542fdec8c60577a3d1.tar.xz hercules-9ee8489925582c65ad4cd8542fdec8c60577a3d1.zip |
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@479 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog.txt | 1 | ||||
-rw-r--r-- | src/map/party.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog.txt b/Changelog.txt index f62220b25..f7753bf62 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,5 +1,6 @@ Date Added 12/6 + * fixed a server crash in party sharing exp [MouseJstr] * fixed a server crash in BS_FINDINGORE [MouseJstr] * Updated Chase Walk [celest] * Added 'checkoption1' and 'checkoption2' script functions - Refer to 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;i<MAX_PARTY;i++) - if((sd=p->member[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 |