version 1.7 | | version 1.8 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.7 2001/01/15 22:33:32 cvs Exp $"; | | * "$Id: treasure.c,v 1.8 2001/02/11 09:12:12 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
else if (!strncmp(cp, "Object",6)) { | | else if (!strncmp(cp, "Object",6)) { |
art->item = (object *) malloc(sizeof(object)); | | art->item = (object *) malloc(sizeof(object)); |
reset_object(art->item); | | reset_object(art->item); |
if (!load_object(fp, art->item,LO_LINEMODE)) | | if (!load_object(fp, art->item,LO_LINEMODE,0)) |
LOG(llevError,"Init_Artifacts: Could not load object.\n"); | | LOG(llevError,"Init_Artifacts: Could not load object.\n"); |
art->item->name = add_string((strchr(cp, ' ')+1)); | | art->item->name = add_string((strchr(cp, ' ')+1)); |
al=find_artifactlist(art->item->type); | | al=find_artifactlist(art->item->type); |