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.12 by pippijn, Tue Jan 2 23:39:21 2007 UTC vs.
Revision 1.14 by elmex, Wed Jan 3 02:30:51 2007 UTC

254{ 254{
255 recipelist *fl; 255 recipelist *fl;
256 recipe *check, *formula; 256 recipe *check, *formula;
257 int numb = 1; 257 int numb = 1;
258 258
259 LOG (llevDebug, "Checking formulae lists..."); 259 LOG (llevDebug, "Checking formulae lists...\n");
260 260
261 for (fl = formulalist; fl != NULL; fl = fl->next) 261 for (fl = formulalist; fl != NULL; fl = fl->next)
262 { 262 {
263 for (formula = fl->items; formula != NULL; formula = formula->next) 263 for (formula = fl->items; formula != NULL; formula = formula->next)
264 for (check = formula->next; check != NULL; check = check->next) 264 for (check = formula->next; check != NULL; check = check->next)
373 return at; 373 return at;
374 } 374 }
375 } 375 }
376 else 376 else
377 { 377 {
378 if (!strcasecmp (t->item->clone.name, name)) 378 if (t->item && !strcasecmp (t->item->clone.name, name))
379 return t->item; 379 return t->item;
380 } 380 }
381 381
382 if (t->next_yes) 382 if (t->next_yes)
383 { 383 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines