--- deliantra/server/socket/info.C 2006/12/15 19:59:20 1.20 +++ deliantra/server/socket/info.C 2006/12/16 03:08:26 1.21 @@ -47,9 +47,7 @@ static void esrv_print_msg (client * ns, int color, const char *str) { - packet sl; - sl.printf ("drawinfo %d %s", color, str); - ns->send_packet (sl); + ns->send_packet_printf ("drawinfo %d %s", color, str); } /** @@ -64,10 +62,7 @@ static void esrv_print_ext_msg (client * ns, int color, uint8 type, uint8 subtype, const char *message) { - packet sl; - - sl.printf ("drawextinfo %d %hhu %hhu %s", color, type, subtype, message); - ns->send_packet (sl); + ns->send_packet_printf ("drawextinfo %d %hhu %hhu %s", color, type, subtype, message); } /**