--- deliantra/server/common/treasure.C 2006/09/03 22:45:55 1.10 +++ deliantra/server/common/treasure.C 2006/09/04 11:07:59 1.11 @@ -1,7 +1,7 @@ /* * static char *rcs_treasure_c = - * "$Id: treasure.C,v 1.10 2006/09/03 22:45:55 root Exp $"; + * "$Id: treasure.C,v 1.11 2006/09/04 11:07:59 root Exp $"; */ /* @@ -1377,8 +1377,7 @@ art->difficulty = (uint8) value; else if (!strncmp (cp, "Object", 6)) { - art->item = (object *) calloc (1, sizeof (object)); - reset_object (art->item); + art->item = get_object (); if (!load_object (thawer, art->item, 0)) LOG (llevError, "Init_Artifacts: Could not load object.\n");