(prod): The production limit due to work was rounded incorrectly.
This commit is contained in:
parent
83478bd79e
commit
5a0216893f
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ prod(void)
|
|||
* is production limited by resources or
|
||||
* workforce?
|
||||
*/
|
||||
max = (int)(work * effic / (double)totcomp) + 0.5;
|
||||
max = (int)((work * effic / (double)totcomp) + 0.5);
|
||||
act = min(used, max);
|
||||
/*
|
||||
* some things are easier to make.. food,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue