--- deliantra/server/common/item.C 2009/10/15 20:12:35 1.60 +++ deliantra/server/common/item.C 2009/11/05 15:43:21 1.62 @@ -392,7 +392,6 @@ return buf; } - /* * query_weight(object) returns a character pointer to a static buffer * containing the text-representation of the weight of the given object. @@ -639,7 +638,7 @@ if (QUERY_FLAG (op, FLAG_INV_LOCKED)) buf << " *"; - if (op->type == CONTAINER && ((op->env && op->env->container == op) || (!op->env && QUERY_FLAG (op, FLAG_APPLIED)))) + if (op->is_open_container ()) buf << " (open)"; if (QUERY_FLAG (op, FLAG_KNOWN_CURSED))