]> git.pond.sub.org Git - empserver/blobdiff - src/lib/subs/plnsub.c
Fix trailing whitespace
[empserver] / src / lib / subs / plnsub.c
index 45eb43714a089a7003122542461ce98d2fb5cf7e..b6694730984a3f54d0a791fef75ee131d5ba28ed 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  plnsub.c: Plane subroutine stuff
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Ken Stevens, 1995
@@ -805,7 +805,7 @@ pln_put1(struct plist *plp)
  * planes.
  */
 int
-could_be_on_ship(struct plnstr *pp, struct shpstr *sp, 
+could_be_on_ship(struct plnstr *pp, struct shpstr *sp,
                 int n, int nch, int nxl, int nmsl)
 {
     struct plchrstr *pcp = &plchr[pp->pln_type];
@@ -860,16 +860,6 @@ put_plane_on_ship(struct plnstr *plane, struct shpstr *ship)
     return 1;
 }
 
-void
-take_plane_off_ship(struct plnstr *plane, struct shpstr *ship)
-{
-    if (CANT_HAPPEN(plane->pln_ship != ship->shp_uid))
-       return;
-
-    plane->pln_ship = -1;
-    putplane(plane->pln_uid, plane);
-}
-
 /*
  * Fit a plane of PP's type on land unit LP.
  * Updating the plane accordingly is the caller's job.
@@ -900,16 +890,6 @@ put_plane_on_land(struct plnstr *plane, struct lndstr *land)
     return 1;
 }
 
-void
-take_plane_off_land(struct plnstr *plane, struct lndstr *land)
-{
-    if (CANT_HAPPEN(plane->pln_land != land->lnd_uid))
-       return;
-
-    plane->pln_land = -1;
-    putplane(plane->pln_uid, plane);
-}
-
 void
 plane_sweep(struct emp_qelem *plane_list, coord x, coord y)
 {