--- deliantra/server/socket/info.C 2006/12/25 11:25:50 1.24 +++ deliantra/server/socket/info.C 2006/12/26 17:11:40 1.27 @@ -187,10 +187,8 @@ { if (flags & NDI_ALL) { - player *tmppl; - for_all_players (pl) - new_draw_info ((flags & ~NDI_ALL), pri, tmppl->ob, buf); + new_draw_info (flags & ~NDI_ALL, pri, pl->ob, buf); return; } @@ -600,7 +598,7 @@ for (int x = 0; x < MAGIC_MAP_SIZE; x++) for (int y = 0; y < MAGIC_MAP_SIZE; y++) - if (map_mark[x + MAP_WIDTH (pl->map) * y] | FACE_FLOOR) + if (map_mark[x + pl->map->width * y] | FACE_FLOOR) { xmin = x < xmin ? x : xmin; xmax = x > xmax ? x : xmax;