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.37 by root, Thu Apr 15 03:34:30 2010 UTC vs.
Revision 1.38 by root, Thu Apr 15 21:49:15 2010 UTC

201 } 201 }
202 202
203 while (thawer.kw) 203 while (thawer.kw)
204 { 204 {
205 if (thawer.kw != KW_object) 205 if (thawer.kw != KW_object)
206 if (!thawer.parse_error ("formulae file", "formulae")) 206 if (!thawer.parse_error ("formulae file"))
207 break; 207 break;
208 208
209 recipe *formula = get_empty_formula (); 209 recipe *formula = get_empty_formula ();
210 thawer.get (formula->title); 210 thawer.get (formula->title);
211 211
275 fl->items = formula; 275 fl->items = formula;
276 } 276 }
277 break; 277 break;
278 278
279 default: 279 default:
280 delete formula;
281 case KW_object:
280 goto next_object; 282 goto next_object;
281 } 283 }
282 } 284 }
283 285
284next_object: ; 286next_object: ;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines