]> git.pond.sub.org Git - empserver/blobdiff - src/lib/subs/plnsub.c
Update copyright notice.
[empserver] / src / lib / subs / plnsub.c
index 0735fba58a38a31eab6b2bfa8260c1a15eb7def5..52d7b3583b2e19a5f9af40c89a516371fd863da0 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-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
 #include <config.h>
 
 #include <math.h>
+#include "file.h"
+#include "item.h"
+#include "land.h"
+#include "lost.h"
+#include "map.h"
 #include "misc.h"
+#include "nat.h"
+#include "nsc.h"
+#include "nuke.h"
+#include "optlist.h"
+#include "path.h"
+#include "plane.h"
 #include "player.h"
+#include "prototypes.h"
 #include "sect.h"
 #include "ship.h"
-#include "land.h"
-#include "item.h"
-#include "plane.h"
 #include "xy.h"
-#include "nsc.h"
-#include "file.h"
-#include "nat.h"
-#include "path.h"
-#include "prototypes.h"
-#include "optlist.h"
 
 static int pln_equip(struct plist *, struct ichrstr *, int, char);
 
@@ -240,15 +243,14 @@ pln_newlanding(struct emp_qelem *list, coord tx, coord ty, int cno)
                pr("\t%s cannot land on ship #%d! %s aborts!\n",
                   prplane(&plp->plane), cno, prplane(&plp->plane));
            else if (!put_plane_on_ship(&plp->plane, &ship))
-               pr("\tNo room on ship #%d! %s aborts!\n", cno,
-                  prplane(&plp->plane));
+               pr("\tNo room on ship #%d! %s aborts!\n",
+                  cno, prplane(&plp->plane));
            else {
                if (plp->plane.pln_own != ship.shp_own) {
 /*                                     plp->plane.pln_own = ship.shp_own;*/
-                   wu(0, ship.shp_own,
-                      "%s %s lands on your %s\n",
-                      cname(player->cnum),
-                      prplane(&plp->plane), prship(&ship));
+                   wu(0, ship.shp_own, "%s %s lands on your %s\n",
+                      cname(player->cnum), prplane(&plp->plane),
+                      prship(&ship));
                }
            }
        } else {