--- deliantra/server/socket/item.C 2007/01/21 21:28:27 1.35 +++ deliantra/server/socket/item.C 2007/02/26 20:36:15 1.39 @@ -340,7 +340,7 @@ if (!pl->contr->ns->update_look) { - LOG (llevDebug, "esrv_draw_look called when update_look was not set\n"); + LOG (llevDebug, "esrv_draw_look called when update_look was not set (player %s)\n", &pl->name); return; } else @@ -504,7 +504,6 @@ * to the client (as defined in newclient.h - might as well use the * same value both places. */ - void esrv_update_item (int flags, object *pl, object *op) { @@ -672,10 +671,12 @@ * Tells the client to delete an item. Uses the item * command with a -1 location. */ - void esrv_del_item (player *pl, int tag) { + if (!pl->ns) + return; + packet sl ("delitem"); sl << uint32 (tag); @@ -881,8 +882,6 @@ } } - - /** Client wants to look at some object. Lets do so. */ void LookAt (char *buf, int len, player *pl)