From b7c7fa00e1e2b0d18faae5449892cc21bd390bdc Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 2 Aug 2008 15:46:35 -0400 Subject: [PATCH] Fix capital maintenance to charge at 60% efficiency produce_sect() started to charge at 61%. Has always been that way. --- src/lib/update/sect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/update/sect.c b/src/lib/update/sect.c index acaf5fac..f1450f39 100644 --- a/src/lib/update/sect.c +++ b/src/lib/update/sect.c @@ -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)