]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/land.c
Update copyright notice
[empserver] / src / lib / commands / land.c
index 385be3d6581f8493c5dc4df040e7a53357179cce..121cf12060e82ef812e3fa6a76587d14e6dcf802 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2020, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
  *
  *  Known contributors to this file:
  *     Steve McClure, 1998
+ *     Markus Armbruster, 2004-2013
  */
 
 #include <config.h>
 
 #include "commands.h"
 #include "land.h"
-#include "optlist.h"
 
 int
 land(void)
@@ -55,8 +55,8 @@ land(void)
        if (nunits++ == 0) {
            if (player->god)
                pr("own ");
-           pr("   # unit type          x,y   a   eff mil frt  mu  fd");
-           pr(" tch retr xl ln carry\n");
+           pr("   # unit type          x,y    a   eff mil frt  mu  fd"
+              " tch retr xl ln carry\n");
        }
        if (land.lnd_off)
            noff++;
@@ -64,7 +64,7 @@ land(void)
            pr("%3d ", land.lnd_own);
        pr("%4d ", ni.cur);
        pr("%-15.15s", lchr[(int)land.lnd_type].l_name);
-       prxy(" %4d,%-4d", land.lnd_x, land.lnd_y);
+       prxy(" %4d,%-4d ", land.lnd_x, land.lnd_y);
        pr("%1.1s", &land.lnd_army);
        pr(" %c%3d%%", land.lnd_off ? '!' : ' ', land.lnd_effic);
        pr("%4d", land.lnd_item[I_MILIT]);