summaryrefslogtreecommitdiff
path: root/src/map/battleground.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battleground.c')
-rw-r--r--src/map/battleground.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/map/battleground.c b/src/map/battleground.c
index 7b605066d..c6a33024a 100644
--- a/src/map/battleground.c
+++ b/src/map/battleground.c
@@ -71,7 +71,7 @@ int bg_team_warp(int bg_id, unsigned short mapindex, short x, short y)
int bg_send_dot_remove(struct map_session_data *sd)
{
if( sd && sd->bg_id )
- clif_bg_xy_remove(sd);
+ clif->bg_xy_remove(sd);
return 0;
}
@@ -97,11 +97,11 @@ int bg_team_join(int bg_id, struct map_session_data *sd)
for( i = 0; i < MAX_BG_MEMBERS; i++ )
{
if( (pl_sd = bg->members[i].sd) != NULL && pl_sd != sd )
- clif_hpmeter_single(sd->fd, pl_sd->bl.id, pl_sd->battle_status.hp, pl_sd->battle_status.max_hp);
+ clif->hpmeter_single(sd->fd, pl_sd->bl.id, pl_sd->battle_status.hp, pl_sd->battle_status.max_hp);
}
- clif_bg_hp(sd);
- clif_bg_xy(sd);
+ clif->bg_hp(sd);
+ clif->bg_xy(sd);
return 1;
}
@@ -130,7 +130,7 @@ int bg_team_leave(struct map_session_data *sd, int flag)
sprintf(output, "Server : %s has quit the game...", sd->status.name);
else
sprintf(output, "Server : %s is leaving the battlefield...", sd->status.name);
- clif_bg_message(bg, 0, "Server", output, strlen(output) + 1);
+ clif->bg_message(bg, 0, "Server", output, strlen(output) + 1);
if( bg->logout_event[0] && flag )
npc_event(sd, bg->logout_event, 0);
@@ -212,7 +212,7 @@ int bg_send_message(struct map_session_data *sd, const char *mes, int len)
nullpo_ret(sd);
if( sd->bg_id == 0 || (bg = bg_team_search(sd->bg_id)) == NULL )
return 0;
- clif_bg_message(bg, sd->bl.id, sd->status.name, mes, len);
+ clif->bg_message(bg, sd->bl.id, sd->status.name, mes, len);
return 0;
}
@@ -233,7 +233,7 @@ int bg_send_xy_timer_sub(DBKey key, DBData *data, va_list ap)
{ // xy update
bg->members[i].x = sd->bl.x;
bg->members[i].y = sd->bl.y;
- clif_bg_xy(sd);
+ clif->bg_xy(sd);
}
}
return 0;