--- deliantra/server/socket/item.C 2006/12/14 04:30:33 1.19 +++ deliantra/server/socket/item.C 2006/12/14 20:39:54 1.20 @@ -296,7 +296,7 @@ if (sl.length () >= (MAXSOCKBUF - MAXITEMLEN)) { - Send_With_Handling (pl->contr->socket, &sl); + pl->contr->socket->send_packet (sl); sl.reset (); sl.printf ("item%d ", pl->contr->socket->itemcmd); @@ -307,7 +307,7 @@ } if (got_one) - Send_With_Handling (pl->contr->socket, &sl); + pl->contr->socket->send_packet (sl); } @@ -323,7 +323,7 @@ packet sl; sl.printf ("delinv %d", op->count); - Send_With_Handling (pl->contr->socket, &sl); + pl->contr->socket->send_packet (sl); sl.reset (); sl.printf ("item%d ", pl->contr->socket->itemcmd); @@ -351,7 +351,7 @@ */ if (sl.length () >= (MAXSOCKBUF - MAXITEMLEN)) { - Send_With_Handling (pl->contr->socket, &sl); + pl->contr->socket->send_packet (sl); sl.reset (); sl.printf ("item%d ", pl->contr->socket->itemcmd); @@ -362,7 +362,7 @@ } if (got_one) - Send_With_Handling (pl->contr->socket, &sl); + pl->contr->socket->send_packet (sl); } @@ -490,7 +490,7 @@ if (flags & UPD_NROF) sl << uint32 (op->nrof); - Send_With_Handling (pl->contr->socket, &sl); + pl->contr->socket->send_packet (sl); } /** @@ -526,7 +526,7 @@ add_object_to_socklist (*pl->contr->socket, sl, op); - Send_With_Handling (pl->contr->socket, &sl); + pl->contr->socket->send_packet (sl); SET_FLAG (op, FLAG_CLIENT_SENT); } @@ -544,7 +544,7 @@ sl << "delitem " << uint32 (tag); - Send_With_Handling (pl->socket, &sl); + pl->socket->send_packet (sl); }