summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-06-01 00:52:39 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-06-01 00:52:39 +0000
commit6c70b54437d0b0a8dec68cfc1364d1a4e49fb338 (patch)
treef63fcde1e742c175c1ff95fbbab746d23ca79706 /src/map/party.c
parent693f6765c3f9ea234862d58f9e3b3aa2428ca986 (diff)
downloadhercules-6c70b54437d0b0a8dec68cfc1364d1a4e49fb338.tar.gz
hercules-6c70b54437d0b0a8dec68cfc1364d1a4e49fb338.tar.bz2
hercules-6c70b54437d0b0a8dec68cfc1364d1a4e49fb338.tar.xz
hercules-6c70b54437d0b0a8dec68cfc1364d1a4e49fb338.zip
Replaced all occurrences of 'leaved' with 'withdraw'.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14319 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 381b0a878..53755b777 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -516,7 +516,7 @@ int party_leave(struct map_session_data *sd)
}
/// Invoked (from char-server) when a party member leaves the party.
-int party_member_leaved(int party_id, int account_id, int char_id)
+int party_member_withdraw(int party_id, int account_id, int char_id)
{
struct map_session_data* sd = map_id2sd(account_id);
struct party_data* p = party_search(party_id);
@@ -527,7 +527,7 @@ int party_member_leaved(int party_id, int account_id, int char_id)
ARR_FIND( 0, MAX_PARTY, i, p->party.member[i].account_id == account_id && p->party.member[i].char_id == char_id );
if( i < MAX_PARTY )
{
- clif_party_leaved(p,sd,account_id,p->party.member[i].name,0x00);
+ clif_party_withdraw(p,sd,account_id,p->party.member[i].name,0x00);
memset(&p->party.member[i], 0, sizeof(p->party.member[0]));
memset(&p->data[i], 0, sizeof(p->data[0]));
p->party.count--;
@@ -567,7 +567,7 @@ int party_broken(int party_id)
{
if( p->data[i].sd!=NULL )
{
- clif_party_leaved(p,p->data[i].sd,p->party.member[i].account_id,p->party.member[i].name,0x10);
+ clif_party_withdraw(p,p->data[i].sd,p->party.member[i].account_id,p->party.member[i].name,0x10);
p->data[i].sd->status.party_id=0;
}
}