version 1.70 | | version 1.71 |
---|
| | |
/* | | /* |
* static char *rcsid_c_misc_c = | | * static char *rcsid_c_misc_c = |
* "$Id: c_misc.c,v 1.70 2005/10/01 16:36:35 ryo_saeba Exp $"; | | * "$Id: c_misc.c,v 1.71 2005/10/28 19:08:53 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
new_draw_info_format(NDI_UNIQUE, 0, op, "Total Players in %s (%d) -- WIZ(%d) AFK(%d)", | | new_draw_info_format(NDI_UNIQUE, 0, op, "Total Players in %s (%d) -- WIZ(%d) AFK(%d)", |
reg->longname, num_players, num_wiz, num_afk); | | reg->longname, num_players, num_wiz, num_afk); |
} | | } |
qsort (chars, num_players, sizeof(chars_names), name_cmp); | | qsort (chars, num_players, sizeof(chars_names), (int (*)(const void *, const void *))name_cmp); |
for (i=0;i<num_players;i++) | | for (i=0;i<num_players;i++) |
display_who_entry(op, find_player(chars[i].namebuf), format); | | display_who_entry(op, find_player(chars[i].namebuf), format); |
free(chars); | | free(chars); |