(nameofitem, produce, check, fire_dchrg, send_reacting_units_home,
do_map_set, upd_land, nav_check_atdest, produce, upd_ship): Remove unused parameters. Callers changed.
This commit is contained in:
parent
19acc1cd07
commit
42290db8c8
12 changed files with 48 additions and 55 deletions
|
@ -482,14 +482,13 @@ produce_sect(int natnum, int etu, int *bp, long int (*p_sect)[2],
|
|||
}
|
||||
|
||||
/*
|
||||
* now do the production (if sector effic >= 60%)
|
||||
* now do the production (if sector effic >= 60%)
|
||||
*/
|
||||
|
||||
if (neweff >= 60) {
|
||||
if (np->nat_money > 0 && dchr[desig].d_prd)
|
||||
work -=
|
||||
produce(np, sp, vec, work, sctwork, desig, neweff,
|
||||
&pcost, &amount);
|
||||
produce(np, sp, vec, work, desig, neweff, &pcost, &amount);
|
||||
}
|
||||
|
||||
pt_bg_nmbr(bp, sp, I_MAX + 1, work);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue