summaryrefslogtreecommitdiff
path: root/src/char_sql/int_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/char_sql/int_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/char_sql/int_party.c')
-rw-r--r--src/char_sql/int_party.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/char_sql/int_party.c b/src/char_sql/int_party.c
index a2e580416..07dbcdb7d 100644
--- a/src/char_sql/int_party.c
+++ b/src/char_sql/int_party.c
@@ -412,7 +412,7 @@ int mapif_party_optionchanged(int fd,struct party *p,int account_id,int flag)
}
// パーティ脱退通知
-int mapif_party_leaved(int party_id,int account_id, int char_id) {
+int mapif_party_withdraw(int party_id,int account_id, int char_id) {
unsigned char buf[16];
WBUFW(buf,0) = 0x3824;
@@ -608,14 +608,14 @@ int mapif_parse_PartyLeave(int fd, int party_id, int account_id, int char_id)
if (i >= MAX_PARTY)
return 0; //Member not found?
- mapif_party_leaved(party_id, account_id, char_id);
+ mapif_party_withdraw(party_id, account_id, char_id);
if (p->party.member[i].leader){
p->party.member[i].account_id = 0;
for (j = 0; j < MAX_PARTY; j++) {
if (!p->party.member[j].account_id)
continue;
- mapif_party_leaved(party_id, p->party.member[j].account_id, p->party.member[j].char_id);
+ mapif_party_withdraw(party_id, p->party.member[j].account_id, p->party.member[j].char_id);
p->party.member[j].account_id = 0;
}
//Party gets deleted on the check_empty call below.