summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-26 13:01:10 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-26 13:01:10 +0000
commit2ea1a0100b05dcf1f8001159485c57c76e4a5ae6 (patch)
treeb5e2155521f5b1487ad536d543e403862f7b6c4b /src/map/party.c
parent54385260051f2b09138aed6c57b1f889ce766c7a (diff)
downloadhercules-2ea1a0100b05dcf1f8001159485c57c76e4a5ae6.tar.gz
hercules-2ea1a0100b05dcf1f8001159485c57c76e4a5ae6.tar.bz2
hercules-2ea1a0100b05dcf1f8001159485c57c76e4a5ae6.tar.xz
hercules-2ea1a0100b05dcf1f8001159485c57c76e4a5ae6.zip
- Fixed guild emblem not showing when you log in (caused by r5359)
- Fixed server not sending party/guild info when you enter a map - Fixed server not removing member minimap dot when you leave a guild git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10624 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 4c1f512cd..cac59d2c2 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -427,6 +427,7 @@ int party_member_leaved(int party_id,int account_id,int char_id)
sd->status.party_id=0;
sd->state.party_sent=0;
clif_charnameupdate(sd); //Update name display [Skotlex]
+ //TODO: hp bars should be cleared too
}
return 0;
}
@@ -532,12 +533,15 @@ void party_send_movemap(struct map_session_data *sd)
}
}
- if (sd->fd) { //Send dots of other party members to this char. [Skotlex]
+ if (sd->fd) { // synchronize minimap positions with the rest of the party
for(i=0; i < MAX_PARTY; i++) {
- if (p->data[i].sd &&
+ if (p->data[i].sd &&
p->data[i].sd != sd &&
p->data[i].sd->bl.m == sd->bl.m)
+ {
clif_party_xy_single(sd->fd, p->data[i].sd);
+ clif_party_xy_single(p->data[i].sd->fd, sd);
+ }
}
}
return;