Fix workflow bug: properly deduce the output material of BrewDrink jobs.

develop
Alexander Gavrilov 2012-05-22 17:50:48 +04:00
parent 9adf310d7f
commit 65349039f0
1 changed files with 3 additions and 0 deletions

@ -965,6 +965,9 @@ static void compute_job_outputs(color_ostream &out, ProtectedJob *pj)
mat.decode(mat.plant->material_defs.type_##tag, \ mat.decode(mat.plant->material_defs.type_##tag, \
mat.plant->material_defs.idx_##tag); \ mat.plant->material_defs.idx_##tag); \
else mat.decode(-1); else mat.decode(-1);
case BrewDrink:
PLANT_PROCESS_MAT(DRINK, drink);
break;
case MillPlants: case MillPlants:
PLANT_PROCESS_MAT(MILL, mill); PLANT_PROCESS_MAT(MILL, mill);
break; break;