(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
|
@ -61,7 +61,7 @@ int mil_dbl_pay;
|
|||
|
||||
static int landrepair(register struct lndstr *, int *, struct natstr *,
|
||||
int *, int);
|
||||
static void upd_land(register struct lndstr *lp, int landno, register int etus,
|
||||
static void upd_land(register struct lndstr *lp, register int etus,
|
||||
struct natstr *np, int *bp, int build);
|
||||
|
||||
int
|
||||
|
@ -97,7 +97,7 @@ prod_land(int etus, int natnum, int *bp, int build)
|
|||
}
|
||||
np = getnatp(lp->lnd_own);
|
||||
start_money = np->nat_money;
|
||||
upd_land(lp, n, etus, np, bp, build);
|
||||
upd_land(lp, etus, np, bp, build);
|
||||
lnd_money[lp->lnd_own] += np->nat_money - start_money;
|
||||
if ((build && (np->nat_money != start_money)) || (!build))
|
||||
k++;
|
||||
|
@ -111,7 +111,7 @@ prod_land(int etus, int natnum, int *bp, int build)
|
|||
}
|
||||
|
||||
static void
|
||||
upd_land(register struct lndstr *lp, int landno, register int etus,
|
||||
upd_land(register struct lndstr *lp, register int etus,
|
||||
struct natstr *np, int *bp, int build)
|
||||
/* build = 1, maintain = 0 */
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue