1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | int bg_reveal_pos(struct block_list *bl, va_list ap) { struct map_session_data *pl_sd, *sd = NULL; int flag, color; pl_sd = (struct map_session_data *)bl; sd = va_arg(ap,struct map_session_data *); // Source flag = va_arg(ap,int); color = va_arg(ap,int); if( pl_sd->bg_id == sd->bg_id ) return false; // Same Team clif->viewpoint(pl_sd,sd->bl.id,flag,sd->bl.x,sd->bl.y,sd->bl.id,color); return true; } |