]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/fort.c
Update copyright notice
[empserver] / src / lib / commands / fort.c
index a457fae4a88b8068b655d054a1b2029b9313c9b3..f45fc5f6398376364acd184a4ed67520c916fae0 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
  *  ---
  *
  *  fort.c: Increase the fortification value of land units
- * 
+ *
  *  Known contributors to this file:
  *    Steve McClure, 1999
  */
 
 #include <config.h>
 
-#include "misc.h"
-#include "player.h"
-#include "land.h"
-#include "nsc.h"
-#include "file.h"
 #include "commands.h"
+#include "land.h"
 #include "optlist.h"
 
 int
@@ -51,7 +47,7 @@ fort(void)
     char *p;
     char buf[1024];
 
-    if (!snxtitem(&ni, EF_LAND, player->argp[1]))
+    if (!snxtitem(&ni, EF_LAND, player->argp[1], NULL))
        return RET_SYN;
     p = getstarg(player->argp[2], "Amount: ", buf);
     if (p == 0 || *p == 0)