--- deliantra/server/random_maps/treasure.C 2007/04/15 14:15:14 1.27 +++ deliantra/server/random_maps/treasure.C 2007/06/04 13:04:00 1.29 @@ -252,7 +252,7 @@ } #endif { /* neither style_map no treasure list given */ - treasurelist *tlist = find_treasurelist ("chest"); + treasurelist *tlist = treasurelist::find ("chest"); the_chest->randomitems = tlist; the_chest->stats.hp = n_treasures; @@ -660,7 +660,7 @@ } } /* give up and return the closest free spot. */ - i = find_free_spot (&archetype::find ("chest")->clone, map, x, y, 1, SIZEOFFREE1 + 1); + i = find_free_spot (archetype::find ("chest"), map, x, y, 1, SIZEOFFREE1 + 1); if (i != -1) {