(do_feed, produce_sect): Move bp_put_item() calls from do_feed() to

produce_sect(), for consistency with the other update functions that
update sct_item[].  Parameter bp is now unused, remove.
This commit is contained in:
Markus Armbruster 2007-01-14 10:03:19 +00:00
parent be97da327e
commit 502e283ea0
3 changed files with 6 additions and 7 deletions

View file

@ -311,7 +311,10 @@ produce_sect(int natnum, int etu, struct bp *bp, long p_sect[][2])
here */
bp_enable_cachepath();
sctwork = do_feed(sp, np, vec, &work, bp, etu);
sctwork = do_feed(sp, np, vec, &work, etu);
bp_put_item(bp, sp, I_CIVIL, vec[I_CIVIL]);
bp_put_item(bp, sp, I_UW, vec[I_UW]);
bp_put_item(bp, sp, I_MILIT, vec[I_MILIT]);
bp_disable_cachepath();
bp_clear_cachepath();