]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/lstat.c
Update copyright notice
[empserver] / src / lib / commands / lstat.c
index 5a0ff3e6bcac62c490e25f5a5be53cfe2d5cfd52..78314a9f46f8d0ad78731df2870b14d19fa6fd87 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2005, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -19,9 +19,9 @@
  *
  *  ---
  *
- *  See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
- *  related information and legal notices. It is expected that any future
- *  projects/authors will amend these files as needed.
+ *  See files README, COPYING and CREDITS in the root of the source
+ *  tree for related information and legal notices.  It is expected
+ *  that future projects/authors will amend these files as needed.
  *
  *  ---
  *
  *     Steve McClure, 1996
  */
 
-#include "misc.h"
-#include "player.h"
-#include "land.h"
-#include "nsc.h"
-#include "file.h"
+#include <config.h>
+
 #include "commands.h"
+#include "land.h"
 
 int
 lsta(void)
@@ -62,9 +60,8 @@ lsta(void)
        pr("%4d %-16.16s ", land.lnd_uid, lchr[(int)land.lnd_type].l_name);
        prxy("%4d,%-4d", land.lnd_x, land.lnd_y, player->cnum);
        pr(" %3d%% %3d %1.1f %1.1f %3d ",
-          land.lnd_effic,
-          land.lnd_tech,
-          (float)land.lnd_att, (float)land.lnd_def, land.lnd_vul);
+          land.lnd_effic, land.lnd_tech, land.lnd_att, land.lnd_def,
+          land.lnd_vul);
        pr("%2d %2d %2d %2d ",
           land.lnd_spd, land.lnd_vis, land.lnd_spy, land.lnd_rad);
        pr("%2d %2d %2d %2d %2d ",