--- deliantra/server/socket/item.C 2006/08/29 08:01:38 1.3 +++ deliantra/server/socket/item.C 2006/09/03 00:18:43 1.4 @@ -1,7 +1,7 @@ /* * static char *rcsid_item_c = - * "$Id: item.C,v 1.3 2006/08/29 08:01:38 root Exp $"; + * "$Id: item.C,v 1.4 2006/09/03 00:18:43 root Exp $"; */ /* @@ -372,7 +372,7 @@ * this is happening - we can set a breakpoint here in the debugger * and track back the call. */ - LOG(llevDebug,"We have not sent item %s (%d)\n", op->name, op->count); + LOG(llevDebug,"We have not sent item %s (%d)\n", &op->name, op->count); } sl.buf= (unsigned char *) malloc(MAXSOCKBUF); @@ -557,8 +557,7 @@ object *op = esrv_get_ob_from_count(pl->ob, tag); if (!op) { - LOG(llevDebug, "Player '%s' tried to examine the unknown object (%ld)\n", - pl->ob->name, tag); + LOG(llevDebug, "Player '%s' tried to examine the unknown object (%ld)\n", &pl->ob->name, tag); return; } examine (pl->ob, op); @@ -583,8 +582,7 @@ } if (!op) { - LOG(llevDebug, "Player '%s' tried to apply the unknown object (%d)\n", - pl->ob->name, tag); + LOG(llevDebug, "Player '%s' tried to apply the unknown object (%d)\n", &pl->ob->name, tag); return; } player_apply (pl->ob, op, 0, 0); @@ -716,8 +714,7 @@ op = esrv_get_ob_from_count(pl, tag); if (!op) { - LOG(llevDebug, "Player '%s' tried to move an unknown object (%ld)\n", - pl->name, tag); + LOG(llevDebug, "Player '%s' tried to move an unknown object (%ld)\n", &pl->name, tag); return; } @@ -754,8 +751,7 @@ env = esrv_get_ob_from_count(pl, to); if (!env) { LOG(llevDebug, - "Player '%s' tried to move object to the unknown location (%d)\n", - pl->name, to); + "Player '%s' tried to move object to the unknown location (%d)\n", &pl->name, to); return; } /* put_object_in_sack presumes that necessary sanity checking