Fix capital maintenance to charge at 60% efficiency

produce_sect() started to charge at 61%.  Has always been that way.
This commit is contained in:
Markus Armbruster 2008-08-02 15:46:35 -04:00
parent def5ef11ff
commit b7c7fa00e1

View file

@ -277,7 +277,7 @@ produce_sect(int natnum, int etu, struct bp *bp, long p_sect[][2])
np = getnatp(natnum);
if ((sp->sct_type == SCT_CAPIT) && (sp->sct_effic > 60)) {
if (sp->sct_type == SCT_CAPIT && sp->sct_effic >= 60) {
p_sect[SCT_CAPIT][0]++;
p_sect[SCT_CAPIT][1] += etu;
if (!player->simulation)