--- cf.schmorp.de/server/common/treasure.C 2006/08/30 06:06:27 1.5 +++ cf.schmorp.de/server/common/treasure.C 2006/08/31 18:59:23 1.6 @@ -1,7 +1,7 @@ /* * static char *rcs_treasure_c = - * "$Id: treasure.C,v 1.5 2006/08/30 06:06:27 root Exp $"; + * "$Id: treasure.C,v 1.6 2006/08/31 18:59:23 root Exp $"; */ /* @@ -165,7 +165,7 @@ LOG(llevError,"Treasurelist %s has element that has 100%% generation, next_yes field as well as next or next_no\n", tl->name); /* find_treasurelist will print out its own error message */ - if (t->name && strcmp(t->name,"NONE")) + if (t->name && *t->name) (void) find_treasurelist(t->name); if (t->next) check_treasurelist(t->next, tl); if (t->next_yes) check_treasurelist(t->next_yes,tl);