src/EditProductTab4.cpp

changeset 516
9161465e0eac
parent 464
1fed3ff9a64e
equal deleted inserted replaced
515:73501316e300 516:9161465e0eac
36 36
37 37
38 bool EditProduct::block_hop(int stage, int useat) 38 bool EditProduct::block_hop(int stage, int useat)
39 { 39 {
40 if (stage > PROD_STAGE_BREW && useat < HOP_USEAT_DRY_HOP) 40 if (stage > PROD_STAGE_BREW && useat < HOP_USEAT_DRY_HOP)
41 return true;
42 if (stage > PROD_STAGE_TERTIARY && useat < HOP_USEAT_BOTTLING)
43 return true;
44 if (stage > PROD_STAGE_PACKAGE)
41 return true; 45 return true;
42 return false; 46 return false;
43 } 47 }
44 48
45 49

mercurial