--- deliantra/server/socket/info.C 2006/12/21 23:37:06 1.23 +++ deliantra/server/socket/info.C 2006/12/25 11:25:50 1.24 @@ -189,7 +189,7 @@ { player *tmppl; - for (tmppl = first_player; tmppl != NULL; tmppl = tmppl->next) + for_all_players (pl) new_draw_info ((flags & ~NDI_ALL), pri, tmppl->ob, buf); return; @@ -311,7 +311,7 @@ { player *pl; - for (pl = first_player; pl != NULL; pl = pl->next) + for_all_players (pl) if (pl->ob != NULL && pl->ob->map == map && pl->ob != op) { new_draw_info (color, 0, pl->ob, str); @@ -327,7 +327,7 @@ { player *pl; - for (pl = first_player; pl != NULL; pl = pl->next) + for_all_players (pl) if (pl->ob != NULL && pl->ob->map == map && pl->ob != op1 && pl->ob != op2) { new_draw_info (color, 0, pl->ob, str); @@ -343,7 +343,7 @@ { player *pl; - for (pl = first_player; pl != NULL; pl = pl->next) + for_all_players (pl) if (pl->ob != NULL && pl->ob->map == map) { new_draw_info (color, 0, pl->ob, str);