--- deliantra/server/common/loader.C 2007/02/07 02:04:46 1.54 +++ deliantra/server/common/loader.C 2007/02/09 01:52:10 1.56 @@ -720,6 +720,7 @@ { tmp = object::create (); /* record the name of the broken object */ + //TODO: but do not log??? tmp->name = str; } @@ -787,17 +788,13 @@ case KW_animation: { - const char *str = thawer.get_str (); + CLEAR_FLAG (op, FLAG_ANIMATE); + op->animation_id = 0; - if (!str) - { - op->animation_id = 0; - CLEAR_FLAG (op, FLAG_ANIMATE); - } - else if ((op->animation_id = find_animation (str))) + const char *str = thawer.get_str (); + if (str && (op->animation_id = find_animation (str))) SET_FLAG (op, FLAG_ANIMATE); } - break; case KW_last_heal: thawer.get (op->last_heal); break; @@ -1144,6 +1141,8 @@ case KW_randomitems: op->randomitems = find_treasurelist (thawer.get_str ()); + //if (!op->randomitems) + // LOG (llevError, "%s uses unknown randomitems '%s'.\n", op->debug_desc (), thawer.get_str ()); break; case KW_msg: