diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-31 15:11:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 11:47:29 +0300 |
commit | 49f424935dee19fd7be02e0b598f6f24ca5e76ef (patch) | |
tree | 46094f43a07d774b5ba26eba89f4baa89a57bedf /src/char/int_party.c | |
parent | 77b88fe80b907122b24d698938538c22e029d25f (diff) | |
download | hercules-49f424935dee19fd7be02e0b598f6f24ca5e76ef.tar.gz hercules-49f424935dee19fd7be02e0b598f6f24ca5e76ef.tar.bz2 hercules-49f424935dee19fd7be02e0b598f6f24ca5e76ef.tar.xz hercules-49f424935dee19fd7be02e0b598f6f24ca5e76ef.zip |
Add prefix char_ to most functions in char.c
Diffstat (limited to 'src/char/int_party.c')
-rw-r--r-- | src/char/int_party.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/int_party.c b/src/char/int_party.c index a8722fbe3..b801c153c 100644 --- a/src/char/int_party.c +++ b/src/char/int_party.c @@ -81,7 +81,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[0].char_id) ) ) { + if( p->size == 2 && ( char_char_child(p->party.member[0].char_id,p->party.member[1].char_id) || char_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; @@ -89,7 +89,7 @@ static void int_party_calc_state(struct party_data *p) p->family = p->party.member[1].char_id; } else if( p->size == 3 ) { //Check Family State. - p->family = char_family( + p->family = char_char_family( p->party.member[0].char_id, p->party.member[1].char_id, p->party.member[2].char_id |