viewing paste Unknown #22938 | C

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
 
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_sub && (m = map->mapindex2mapid(bg->mapindex)) == sd->bl.m )
            map->foreachinmap(bg->reveal_pos_sub, m, BL_PC, sd, 2, 0xFFFFFF);
            //map->foreachinmap(script->buildin_killmonster_sub, m, BL_MOB, event ,allflag);
    }
    return true;
}
Viewed 619 times, submitted by Guest.