summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-23 18:08:30 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-23 18:08:30 +0000
commit2adeac91feafdc3145cdbb4feb387f126dd3796b (patch)
tree3ba6454008c90b01433a28a19b3a3f52c2948509
parent1480c4ee7007b58a15c5b4f8f935d502f8f2a4e6 (diff)
downloadhercules-2adeac91feafdc3145cdbb4feb387f126dd3796b.tar.gz
hercules-2adeac91feafdc3145cdbb4feb387f126dd3796b.tar.bz2
hercules-2adeac91feafdc3145cdbb4feb387f126dd3796b.tar.xz
hercules-2adeac91feafdc3145cdbb4feb387f126dd3796b.zip
Follow up r15029 fixed a typo in the array slot
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15232 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/char_sql/int_party.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/int_party.c b/src/char_sql/int_party.c
index d62e9f6a7..14cef56e5 100644
--- a/src/char_sql/int_party.c
+++ b/src/char_sql/int_party.c
@@ -78,7 +78,7 @@ static void int_party_calc_state(struct party_data *p)
if(p->party.member[i].online)
p->party.count++;
}
- if( p->size == 2 && ( char_child(p->party.member[0].char_id,p->party.member[1].char_id) || char_child(p->party.member[1].char_id,p->party.member[2].char_id) ) ) {
+ if( p->size == 2 && ( char_child(p->party.member[0].char_id,p->party.member[1].char_id) || char_child(p->party.member[1].char_id,p->party.member[0].char_id) ) ) {
//Child should be able to share with either of their parents [RoM]
if(p->party.member[0].class_&0x2000) //first slot is the child?
p->family = p->party.member[0].char_id;