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.11 by root, Thu Dec 14 22:45:40 2006 UTC vs.
Revision 1.12 by pippijn, Tue Jan 2 23:39:21 2007 UTC

94 { 94 {
95 artifact *art = locate_recipe_artifact (rp, i); 95 artifact *art = locate_recipe_artifact (rp, i);
96 96
97 if (!art && strcmp (rp->title, "NONE") != 0) 97 if (!art && strcmp (rp->title, "NONE") != 0)
98 { 98 {
99 LOG (llevError, "\nWARNING: Formula %s of %s has no artifact.\n", rp->arch_name[i], &rp->title); 99 LOG (llevError, "WARNING: Formula %s of %s has no artifact.\n", rp->arch_name[i], &rp->title);
100 result = 0; 100 result = 0;
101 } 101 }
102 } 102 }
103 else 103 else
104 { 104 {
105 LOG (llevError, "\nWARNING: Can't find archetype %s for formula %s\n", rp->arch_name[i], &rp->title); 105 LOG (llevError, "WARNING: Can't find archetype %s for formula %s\n", rp->arch_name[i], &rp->title);
106 result = 0; 106 result = 0;
107 } 107 }
108 } 108 }
109 109
110 return result; 110 return result;
134 return; 134 return;
135 else 135 else
136 has_been_done = 1; 136 has_been_done = 1;
137 137
138 sprintf (filename, "%s/formulae", settings.datadir); 138 sprintf (filename, "%s/formulae", settings.datadir);
139 LOG (llevDebug, "Reading alchemical formulae from %s...", filename); 139 LOG (llevDebug, "Reading alchemical formulae from %s...\n", filename);
140 if ((fp = open_and_uncompress (filename, 0, &comp)) == NULL) 140 if ((fp = open_and_uncompress (filename, 0, &comp)) == NULL)
141 { 141 {
142 LOG (llevError, "Can't open %s.\n", filename); 142 LOG (llevError, "Can't open %s.\n", filename);
143 return; 143 return;
144 } 144 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines