int bg_send_dot_remove(struct map_session_data *sd) { struct battleground_data *bg; int m; if( sd && sd->bg_id && (bg = bg_team_search(sd->bg_id)) != NULL ) { clif_bg_xy_remove(sd); if( bg->reveal_pos && (m = map_mapindex2mapid(bg->mapindex)) == sd->bl.m ) map_foreachinmap(bg_reveal_pos,m,BL_PC,sd,2,0xFFFFFF); } return 0; }
int bg_send_dot_remove(struct map_session_data *sd) { if( sd && sd->bg_id ) clif_bg_xy_remove(sd); return 0; }