--- deliantra/server/common/item.C 2008/04/13 20:21:50 1.43 +++ deliantra/server/common/item.C 2008/04/20 22:03:21 1.46 @@ -421,7 +421,7 @@ query_weight (const object *op) { static char buf[10]; - sint32 i = (op->nrof ? op->nrof : 1) * op->weight + op->carrying; + sint32 i = op->total_weight (); if (op->weight < 0) return " "; @@ -592,7 +592,7 @@ sint32 coins = op->stats.food / coin->value; - buf.printf ("drop %d %s", coins, coins == 1 ? &coin->name : &coin->name_pl); + buf.printf ("drop %d %s (or equivalent)", coins, coins == 1 ? &coin->name : &coin->name_pl); if (wrap) buf << ']'; } @@ -1196,9 +1196,8 @@ void examine (object *op, object *tmp) { - std::string s = tmp->describe (op); - - new_draw_info (NDI_UNIQUE, 0, op, s.c_str ()); + std::string info = tmp->describe (op); + op->contr->infobox (MSG_CHANNEL ("examine"), info.c_str ()); } /*