summaryrefslogtreecommitdiff
path: root/src/map/battleground.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-08 17:24:07 -0300
committershennetsind <ind@henn.et>2013-06-08 17:24:07 -0300
commit60eb0c9e0527e80b7793e48d2cea47e3204b777c (patch)
tree3ee0d20f14dd5655463425a167f3e28d101b2874 /src/map/battleground.c
parent27147633d447400d4a095a4166c64d3a0df4e078 (diff)
downloadhercules-60eb0c9e0527e80b7793e48d2cea47e3204b777c.tar.gz
hercules-60eb0c9e0527e80b7793e48d2cea47e3204b777c.tar.bz2
hercules-60eb0c9e0527e80b7793e48d2cea47e3204b777c.tar.xz
hercules-60eb0c9e0527e80b7793e48d2cea47e3204b777c.zip
Follow up d73783f22b2bb881aab74524d153d89a5932a199
Adjusting party.c interface name to adhere with the rest (pretty much we try to make it as short as we can, and being there were no conflicts we saw no reason to maintain the 'i') Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/battleground.c')
-rw-r--r--src/map/battleground.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/battleground.c b/src/map/battleground.c
index 233679dfc..f91d7ae69 100644
--- a/src/map/battleground.c
+++ b/src/map/battleground.c
@@ -526,7 +526,7 @@ void bg_queue_add(struct map_session_data *sd, struct bg_arena *arena, enum bg_q
switch( type ) { /* guild/party already validated in can_queue */
case BGQT_PARTY: {
- struct party_data *p = iParty->search(sd->status.party_id);
+ struct party_data *p = party->search(sd->status.party_id);
for( i = 0; i < MAX_PARTY; i++ ) {
if( !p->data[i].sd || p->data[i].sd->bg_queue.arena != NULL ) continue;
count++;
@@ -560,7 +560,7 @@ void bg_queue_add(struct map_session_data *sd, struct bg_arena *arena, enum bg_q
clif->bgqueue_update_info(sd,arena->id,script->hq[arena->queue_id].items);
break;
case BGQT_PARTY: {
- struct party_data *p = iParty->search(sd->status.party_id);
+ struct party_data *p = party->search(sd->status.party_id);
for( i = 0; i < MAX_PARTY; i++ ) {
if( !p->data[i].sd || p->data[i].sd->bg_queue.arena != NULL ) continue;
p->data[i].sd->bg_queue.type = type;
@@ -650,7 +650,7 @@ enum BATTLEGROUNDS_QUEUE_ACK bg_canqueue(struct map_session_data *sd, struct bg_
return BGQA_NOT_PARTY_GUILD_LEADER;
else {
struct party_data *p;
- if( (p = iParty->search(sd->status.party_id) ) ) {
+ if( (p = party->search(sd->status.party_id) ) ) {
int i, count = 0;
bool is_leader = false;