--- deliantra/server/common/recipe.c 2006/02/22 18:01:23 1.1.1.2 +++ deliantra/server/common/recipe.c 2006/08/13 17:16:00 1.2 @@ -76,7 +76,7 @@ /* check_recipe() - makes sure we actually have the requested artifact * and archetype. */ -static int check_recipe(const recipe *rp) { +static int check_recipe(recipe *rp) { size_t i; int result; @@ -284,7 +284,7 @@ /* Find a treasure with a matching name. The 'depth' parameter is * only there to prevent infinite loops in treasure lists (a list * referencing another list pointing back to the first one). */ -archetype *find_treasure_by_name (const treasure *t, const char *name, int depth) +archetype *find_treasure_by_name (treasure *t, const char *name, int depth) { treasurelist *tl; archetype *at; @@ -525,7 +525,7 @@ return val*mult; } -artifact * locate_recipe_artifact(const recipe *rp, size_t idx) { +artifact * locate_recipe_artifact(recipe *rp, size_t idx) { object *item=get_archetype(rp->arch_name[idx]); artifactlist *at=NULL; artifact *art=NULL;