]> git.pond.sub.org Git - empserver/commitdiff
(pstat): Remove inappropriate plane sanity check; should be done
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Nov 2005 21:06:35 +0000 (21:06 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Nov 2005 21:06:35 +0000 (21:06 +0000)
elsewhere.

src/lib/commands/pstat.c

index 08c32593cf508e7ce90f9575264f5d8149a41e75..47e64b67648ef3c1ac54cbb4346a9137f4cfde6a 100644 (file)
@@ -52,10 +52,6 @@ pstat(void)
     while (nxtitem(&np, &plane)) {
        if (!player->owner || plane.pln_own == 0)
            continue;
-       if (plane.pln_type < 0 || plane.pln_type > pln_maxno) {
-           pr("bad plane type %d (#%d)\n", plane.pln_type, np.cur);
-           continue;
-       }
        if (nplanes++ == 0) {
            pr("pln# %22.22s    x,y    eff  tech att def acc ran load fuel\n", "plane-type");
        }