--- deliantra/server/common/treasure.C 2007/04/16 10:14:25 1.42 +++ deliantra/server/common/treasure.C 2007/04/16 11:09:30 1.43 @@ -207,14 +207,11 @@ * Each treasure is parsed with the help of load_treasure(). */ bool -load_treasures () +load_treasure_file (const char *filename) { treasure *t; int comp, line = 0; - char filename[MAX_BUF]; - sprintf (filename, "%s/%s", settings.datadir, settings.treasures); - object_thawer f (filename); if (!f)