ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/recipe.C
(Generate patch)

Comparing deliantra/server/common/recipe.C (file contents):
Revision 1.6 by root, Thu Sep 14 21:16:11 2006 UTC vs.
Revision 1.8 by root, Tue Dec 12 20:53:02 2006 UTC

1
2
3/* Basic stuff for use with the alchemy code. Clearly some of this stuff 1/* Basic stuff for use with the alchemy code. Clearly some of this stuff
4 * could go into server/alchemy, but I left it here just in case it proves 2 * could go into server/alchemy, but I left it here just in case it proves
5 * more generally useful. 3 * more generally useful.
6 * 4 *
7 * Nov 1995 - file created by b.t. thomas@astro.psu.edu 5 * Nov 1995 - file created by b.t. thomas@astro.psu.edu
615 if ((at = find_artifactlist (item->type))) 613 if ((at = find_artifactlist (item->type)))
616 for (art = at->items; art; art = art->next) 614 for (art = at->items; art; art = art->next)
617 if (!strcmp (art->item->name, rp->title)) 615 if (!strcmp (art->item->name, rp->title))
618 break; 616 break;
619 617
620 free_object (item); 618 item->destroy (0);
621 619
622 return art; 620 return art;
623} 621}
624 622
625int 623int

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines