diff options
Diffstat (limited to 'src/map/battleground.c')
-rw-r--r-- | src/map/battleground.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/map/battleground.c b/src/map/battleground.c index cbf859b80..2b7614761 100644 --- a/src/map/battleground.c +++ b/src/map/battleground.c @@ -472,7 +472,7 @@ struct bg_arena *bg_name2arena (char *name) { return NULL; } int bg_id2pos ( int queue_id, int account_id ) { - struct hQueue *queue = script->queue(queue_id); + struct script_queue *queue = script->queue(queue_id); if( queue ) { int i, pos = 1; for(i = 0; i < queue->size; i++ ) { @@ -496,7 +496,7 @@ void bg_queue_ready_ack (struct bg_arena *arena, struct map_session_data *sd, bo if( !response ) bg->queue_pc_cleanup(sd); else { - struct hQueue *queue = script->queue(arena->queue_id); + struct script_queue *queue = script->queue(arena->queue_id); int i, count = 0; sd->bg_queue.ready = 1; @@ -531,7 +531,7 @@ void bg_queue_player_cleanup(struct map_session_data *sd) { sd->bg_queue.type = 0; } void bg_match_over(struct bg_arena *arena, bool canceled) { - struct hQueue *queue = script->queue(arena->queue_id); + struct script_queue *queue = script->queue(arena->queue_id); int i; nullpo_retv(arena); @@ -560,7 +560,7 @@ void bg_match_over(struct bg_arena *arena, bool canceled) { script->queue_clear(arena->queue_id); } void bg_begin(struct bg_arena *arena) { - struct hQueue *queue = script->queue(arena->queue_id); + struct script_queue *queue = script->queue(arena->queue_id); int i, count = 0; nullpo_retv(arena); @@ -645,7 +645,7 @@ int bg_afk_timer(int tid, int64 tick, int id, intptr_t data) { } void bg_queue_pregame(struct bg_arena *arena) { - struct hQueue *queue; + struct script_queue *queue; int i; nullpo_retv(arena); @@ -667,7 +667,7 @@ int bg_fillup_timer(int tid, int64 tick, int id, intptr_t data) { void bg_queue_check(struct bg_arena *arena) { int count; - struct hQueue *queue; + struct script_queue *queue; nullpo_retv(arena); queue = script->queue(arena->queue_id); @@ -684,7 +684,7 @@ void bg_queue_check(struct bg_arena *arena) { } void bg_queue_add(struct map_session_data *sd, struct bg_arena *arena, enum bg_queue_types type) { enum BATTLEGROUNDS_QUEUE_ACK result = bg->can_queue(sd,arena,type); - struct hQueue *queue; + struct script_queue *queue = NULL; int i, count = 0; nullpo_retv(sd); |