--- deliantra/server/socket/info.C 2008/05/06 16:55:26 1.50 +++ deliantra/server/socket/info.C 2008/08/29 02:07:10 1.51 @@ -141,10 +141,7 @@ * * flags is various flags - mostly color, plus a few specials. * - * pri is priority. It is a little odd - the lower the value, the more - * important it is. Thus, 0 gets sent no matter what. Otherwise, the - * value must be less than the listening level that the player has set. - * Unfortunately, there is no clear guideline on what each level does what. + * pri is unused. * * pl can be passed as NULL - in fact, this will be done if NDI_ALL is set * in the flags. @@ -158,16 +155,13 @@ if (flags & NDI_ALL) { for_all_players (pl) - new_draw_info (flags & ~NDI_ALL, pri, pl->ob, buf); + new_draw_info (flags & ~NDI_ALL, 0, pl->ob, buf); } else { if (!op || !op->contr || !op->contr->ns) return; - if (pri >= op->contr->listening) - return; - if ((flags & (NDI_COLOR_MASK | NDI_UNIQUE)) != NDI_BLACK || !op->contr->ns->msg_suppressed (buf)) print_message (flags & NDI_COLOR_MASK, op, buf); @@ -202,9 +196,6 @@ if (!pl || (pl->type != PLAYER) || (pl->contr == NULL)) return; - if (pri >= pl->contr->listening) - return; - if (!CLIENT_SUPPORT_READABLES (pl->contr->ns, type)) { char *buf = (char *) malloc (strlen (oldmessage == NULL ? message : oldmessage) + 1); @@ -231,9 +222,6 @@ if (!pl || (pl->type != PLAYER) || (pl->contr == NULL)) return; - if (pri >= pl->contr->listening) - return; - if (!CLIENT_SUPPORT_READABLES (pl->contr->ns, type)) { va_list ap;