--- deliantra/server/random_maps/treasure.C 2006/09/10 16:06:37 1.4 +++ deliantra/server/random_maps/treasure.C 2006/09/14 21:16:12 1.5 @@ -1,7 +1,7 @@ /* * static char *rcsid_treasure_c = - * "$Id: treasure.C,v 1.4 2006/09/10 16:06:37 root Exp $"; + * "$Id: treasure.C,v 1.5 2006/09/14 21:16:12 root Exp $"; */ /* @@ -664,7 +664,7 @@ } } /* give up and return the closest free spot. */ - i = find_first_free_spot (&find_archetype ("chest")->clone, map, x, y); + i = find_first_free_spot (&archetype::find ("chest")->clone, map, x, y); if (i != -1 && i <= SIZEOFFREE1) { *cx = x + freearr_x[i];