]> git.pond.sub.org Git - empserver/blobdiff - src/lib/common/bridgefall.c
Get rid of src/lib/gen/copy.c
[empserver] / src / lib / common / bridgefall.c
index 6d6acc2897810a881e16d031f7e0894c0e1dadae..c11529d1e4424064e393876ae57c27c60146b2b4 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-2008, 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 "misc.h"
-#include "plague.h"
-#include "sect.h"
-#include "path.h"
 #include "file.h"
-#include "xy.h"
-#include "plane.h"
 #include "land.h"
-#include "nsc.h"
-#include "common.h"
-#include "subs.h"
 #include "lost.h"
+#include "misc.h"
+#include "nat.h"
+#include "nsc.h"
+#include "nuke.h"
 #include "optlist.h"
+#include "path.h"
+#include "plague.h"
+#include "plane.h"
+#include "prototypes.h"
+#include "sect.h"
+#include "xy.h"
 
 void
 bridgefall(struct sctstr *sp, struct emp_qelem *list)
@@ -126,9 +127,6 @@ knockdown(struct sctstr *sp, struct emp_qelem *list)
            mpr(land.lnd_own, "\07");
        mpr(land.lnd_own, "     AARGH! %s tumbles to its doom!\n",
            prland(&land));
-       makelost(EF_LAND, land.lnd_own, land.lnd_uid,
-                land.lnd_x, land.lnd_y);
-       land.lnd_own = 0;
        land.lnd_effic = 0;
        putland(land.lnd_uid, &land);
     }
@@ -149,9 +147,6 @@ knockdown(struct sctstr *sp, struct emp_qelem *list)
            mpr(plane.pln_own, "\07");
        mpr(plane.pln_own, "     AARGH! %s tumbles to its doom!\n",
            prplane(&plane));
-       makelost(EF_PLANE, plane.pln_own, plane.pln_uid,
-                plane.pln_x, plane.pln_y);
-       plane.pln_own = 0;
        plane.pln_effic = 0;
        putplane(plane.pln_uid, &plane);
     }
@@ -167,9 +162,6 @@ knockdown(struct sctstr *sp, struct emp_qelem *list)
            mpr(nuke.nuk_own, "\07");
        mpr(nuke.nuk_own, "     %s sinks to the bottom of the sea!\n",
            prnuke(&nuke));
-       makelost(EF_NUKE, nuke.nuk_own, nuke.nuk_uid,
-                nuke.nuk_x, nuke.nuk_y);
-       nuke.nuk_own = 0;
        nuke.nuk_effic = 0;
        putnuke(nuke.nuk_uid, &nuke);
     }