--- deliantra/server/socket/info.C 2006/12/14 04:30:33 1.17 +++ deliantra/server/socket/info.C 2006/12/15 19:59:20 1.20 @@ -45,15 +45,10 @@ * replaced with this, just using black as the color. */ static void -esrv_print_msg (client_socket * ns, int color, const char *str) +esrv_print_msg (client * ns, int color, const char *str) { packet sl; - - if (ns->status == Ns_Old) - sl.printf ("%s\n", str); - else - sl.printf ("drawinfo %d %s", color, str); - + sl.printf ("drawinfo %d %s", color, str); ns->send_packet (sl); } @@ -67,7 +62,7 @@ * message The main message */ static void -esrv_print_ext_msg (client_socket * ns, int color, uint8 type, uint8 subtype, const char *message) +esrv_print_ext_msg (client * ns, int color, uint8 type, uint8 subtype, const char *message) { packet sl; @@ -636,7 +631,7 @@ for (int x = xmin; x <= xmax; x++) sl << uint8 (map_mark[x + MAGIC_MAP_SIZE * y] & ~FACE_FLOOR); - Send_With_Handling (pl->contr->socket, &sl); + pl->contr->socket->send_packet (sl); free (map_mark); }