]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/buil.c
Update copyright notice.
[empserver] / src / lib / commands / buil.c
index 6f67b870f0d682f586516cc47cd2b03a4c2dd11c..93200a033d56f62a6e6e4b0b6a023e530c92e4bf 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2000, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2004, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -38,7 +38,6 @@
 #include "var.h"
 #include "sect.h"
 #include "nat.h"
-#include "retreat.h"
 #include "ship.h"
 #include "land.h"
 #include "nuke.h"
@@ -463,7 +462,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 +476,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;