summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-18 22:29:04 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-18 22:29:04 +0000
commit8188efbcea52913a95e7e5c081a42a6eea07d479 (patch)
tree1e9233f913796414aaf85b0350213b19ab7fc5af /src/map/party.c
parent460ee2693ff9c955cf8d9cb6aa748d5d541297d1 (diff)
downloadhercules-8188efbcea52913a95e7e5c081a42a6eea07d479.tar.gz
hercules-8188efbcea52913a95e7e5c081a42a6eea07d479.tar.bz2
hercules-8188efbcea52913a95e7e5c081a42a6eea07d479.tar.xz
hercules-8188efbcea52913a95e7e5c081a42a6eea07d479.zip
Fixed invited party members not displaying correctly (bugreport:1199)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12394 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 2e5370a80..8e97d1f05 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -381,8 +381,6 @@ int party_member_added(int party_id,int account_id,int char_id, int flag)
}
sd2 = map_id2sd(sd->party_invite_account);
- if( sd2 != NULL )
- clif_party_inviteack(sd2,sd->status.name,flag?3:2);
sd->party_invite = 0;
sd->party_invite_account = 0;
@@ -406,9 +404,13 @@ int party_member_added(int party_id,int account_id,int char_id, int flag)
}
party_check_conflict(sd);
+ clif_party_member_info(p,sd);
clif_party_option(p,sd,0x100);
clif_party_info(p,sd);
- clif_party_member_info(p,sd);
+
+ if( sd2 != NULL )
+ clif_party_inviteack(sd2,sd->status.name,flag?3:2);
+
for( i = 0; i < ARRAYLENGTH(p->data); ++i )
{// hp of the other party members
sd2 = p->data[i].sd;