(produce, prod): Remove some code related to depletion that has no

effect and makes no sense.
This commit is contained in:
Markus Armbruster 2004-05-14 17:26:53 +00:00
parent 6d3f24f9d7
commit 79e94bf9d1
2 changed files with 0 additions and 13 deletions

View file

@ -80,7 +80,6 @@ prod(void)
int cost;
int i;
int max; /* production w/infinate materials */
double maxtake;
int nsect;
double take;
double mtake;
@ -227,11 +226,6 @@ prod(void)
unit_work++;
resource = ((s_char *)&sect) + pp->p_nrndx;
p_e = (*resource * p_e) / 100.0;
if (pp->p_nrdep > 0) {
maxtake = (*resource * 100.0) / pp->p_nrdep;
if (p_e > maxtake)
p_e = maxtake;
}
}
/*
* production effic.