From f7e9440bfe41c34125f4f48d2239324a1bb808a5 Mon Sep 17 00:00:00 2001 From: Marc Olzheim Date: Fri, 27 Aug 2004 16:45:52 +0000 Subject: [PATCH] (build_land): unused variable natp, remove. --- src/lib/commands/buil.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/commands/buil.c b/src/lib/commands/buil.c index 6f67b870..a8529f21 100644 --- a/src/lib/commands/buil.c +++ b/src/lib/commands/buil.c @@ -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;