Difference for common/recipe.c from version 1.6 to 1.7


version 1.6 version 1.7
Line 129
 
Line 129
     if (!strncmp(cp, "Object", 6)) {      if (!strncmp(cp, "Object", 6)) {
       formula=get_empty_formula();        formula=get_empty_formula();
       formula->title = add_string(strchr(cp,' ') + 1);        formula->title = add_string(strchr(cp,' ') + 1);
     }      } else if (!strncmp(cp, "keycode", 7)) {
     else if (!strncmp(cp, "keycode", 7)) {  
       formula->keycode = add_string(strchr(cp,' ') + 1);        formula->keycode = add_string(strchr(cp,' ') + 1);
     }      } else if (sscanf(cp, "trans %d", &value)) {
     else if (sscanf(cp, "trans %d", &value)) {  
         formula->transmute = (uint16) value;          formula->transmute = (uint16) value;
     }      } else if (sscanf(cp, "yield %d", &value)) {
     else if (sscanf(cp, "yield %d", &value)) {  
  formula->yield = (uint16) value;   formula->yield = (uint16) value;
     }      } else if (sscanf(cp, "chance %d", &value)) {
     else if (sscanf(cp, "chance %d", &value)) {  
         formula->chance = (uint16) value;          formula->chance = (uint16) value;
     }      } else if (sscanf(cp, "exp %d", &value)) {
     else if (sscanf(cp, "exp %d", &value)) {  
  formula->exp = (uint16)value;   formula->exp = (uint16)value;
     }      } else if (sscanf(cp, "diff %d", &value)) {
     else if (sscanf(cp, "diff %d", &value)) {  
  formula->diff = (uint16)value;   formula->diff = (uint16)value;
     }      } else if (!strncmp(cp, "ingred",6)) {
     else if (!strncmp(cp, "ingred",6)) {  
       int numb_ingred = 1;        int numb_ingred = 1;
       cp = strchr(cp,' ') + 1;        cp = strchr(cp,' ') + 1;
       do {        do {


Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:17