Fix the previous revision.
This commit is contained in:
parent
54bd2587d9
commit
42e7e3e389
1 changed files with 2 additions and 2 deletions
|
@ -283,6 +283,8 @@ produce_sect(int natnum, int etu, int *bp, long p_sect[][2])
|
||||||
if (sp->sct_updated != 0)
|
if (sp->sct_updated != 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
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][0]++;
|
||||||
p_sect[SCT_CAPIT][1] += etu;
|
p_sect[SCT_CAPIT][1] += etu;
|
||||||
|
@ -312,8 +314,6 @@ produce_sect(int natnum, int etu, int *bp, long p_sect[][2])
|
||||||
sp->sct_updated = 1;
|
sp->sct_updated = 1;
|
||||||
work = 0;
|
work = 0;
|
||||||
|
|
||||||
np = getnatp(natnum);
|
|
||||||
|
|
||||||
/* do_feed trys to supply. So, we need to enable cacheing
|
/* do_feed trys to supply. So, we need to enable cacheing
|
||||||
here */
|
here */
|
||||||
bp_enable_cachepath();
|
bp_enable_cachepath();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue