Searched refs:ressourceToDistributeB (Results 1 – 1 of 1) sorted by relevance
242 int ressourceToDistributeB; in calcMaxAllowedProd() local253 ressourceToDistributeB = GoldProd; in calcMaxAllowedProd()261 ressourceToDistributeB = MetalProd; in calcMaxAllowedProd()269 ressourceToDistributeB = MetalProd; in calcMaxAllowedProd()297 if (amount > 0) ressourceToDistributeB -= amount; in calcMaxAllowedProd()305 ressourceToDistributeB = std::max (ressourceToDistributeB, 0); in calcMaxAllowedProd()323 if (ressourceToDistributeB > 0) in calcMaxAllowedProd()325 const int value = min (freeB, ressourceToDistributeB); in calcMaxAllowedProd()327 ressourceToDistributeB -= value; in calcMaxAllowedProd()338 maxAllowedProd -= ressourceToDistributeB + ressourceToDistributeC; in calcMaxAllowedProd()