(build_land): unused variable natp, remove.

This commit is contained in:
Marc Olzheim 2004-08-27 16:45:52 +00:00
parent 9c75164a0c
commit f7e9440bfe

View file

@ -463,7 +463,6 @@ build_land(register struct sctstr *sp, register struct lchrstr *lp,
struct lndstr land;
struct nstr_item nstr;
int avail, cost;
struct natstr *natp;
float eff = LAND_MINEFF / 100.0;
int mil, lcm, hcm, gun, shell;
int freeland = 0;
@ -478,8 +477,6 @@ build_land(register struct sctstr *sp, register struct lchrstr *lp,
hcm = roundavg(((double)lp->l_hcm * eff));
lcm = roundavg(((double)lp->l_lcm * eff));
natp = getnatp(player->cnum);
if (sp->sct_type != SCT_HEADQ) {
pr("Land Units must be built in headquarters.\n");
return 0;