--- deliantra/server/common/treasure.C 2007/05/28 21:21:40 1.61 +++ deliantra/server/common/treasure.C 2007/06/04 12:19:08 1.62 @@ -205,7 +205,7 @@ { if (t->next_yes || t->next_no) { - LOG (llevError, "Treasure %s is one item, but on treasure %s\n", &tl->name, t->item ? &t->item->name : &t->name); + LOG (llevError, "Treasure %s is one item, but on treasure %s\n", &tl->name, t->item ? &t->item->archname : &t->name); LOG (llevError, " the next_yes or next_no field is set\n"); } @@ -1270,7 +1270,7 @@ for (at = first_archetype; at != NULL; at = at->next) if (!strcasecmp (at->clone.name, name) && at->clone.title == NULL) { - fprintf (logfile, "treasures for %s (arch: %s)\n", &at->clone.name, &at->name); + fprintf (logfile, "treasures for %s (arch: %s)\n", &at->clone.name, &at->archname); if (at->clone.randomitems != NULL) dump_monster_treasure_rec (at->clone.name, at->clone.randomitems->items, 1); else @@ -1614,7 +1614,7 @@ name = tmp->name, neg = 0; /* If we match name, then return the opposite of 'neg' */ - if (!strcmp (name, op->name) || (op->arch && !strcmp (name, op->arch->name))) + if (!strcmp (name, op->name) || (op->arch && !strcmp (name, op->arch->archname))) return !neg; /* Set success as true, since if the match was an inverse, it means