diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 11:44:12 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-03-30 11:44:12 +0000 |
commit | c883ca205971275e576d34b54304c3c5c30f3580 (patch) | |
tree | 4d0a218a184099c61a311d65b50e93973c4c773a /src/map/party.c | |
parent | 230ba4e3dd84a19f7dee67fdc97532e5869bef63 (diff) | |
download | hercules-c883ca205971275e576d34b54304c3c5c30f3580.tar.gz hercules-c883ca205971275e576d34b54304c3c5c30f3580.tar.bz2 hercules-c883ca205971275e576d34b54304c3c5c30f3580.tar.xz hercules-c883ca205971275e576d34b54304c3c5c30f3580.zip |
* updated map server to jA1137~1159
* Some tidying up in mob.c and skill.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1342 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/party.c b/src/map/party.c index e33dc37cc..17f0cf5eb 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -175,7 +175,7 @@ int party_recv_info(struct party *sp) for(i=0;i<MAX_PARTY;i++){ // sdの設定 struct map_session_data *sd = map_id2sd(p->member[i].account_id); - p->member[i].sd=(sd!=NULL && sd->status.party_id==p->party_id)?sd:NULL; + p->member[i].sd=(sd!=NULL && sd->status.party_id==p->party_id && !sd->state.waitingdisconnect)?sd:NULL; } clif_party_info(p,-1); @@ -419,7 +419,7 @@ int party_recv_movemap(int party_id,int account_id,char *map,int online,int lv) for(i=0;i<MAX_PARTY;i++){ // sd再設定 struct map_session_data *sd= map_id2sd(p->member[i].account_id); - p->member[i].sd=(sd!=NULL && sd->status.party_id==p->party_id)?sd:NULL; + p->member[i].sd=(sd!=NULL && sd->status.party_id==p->party_id && !sd->state.waitingdisconnect)?sd:NULL; } party_send_xy_clear(p); // 座標再通知要請 |