From 6f1df90b694b9f9fc29a1f7a7d356d0a9a3892d5 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 6 Nov 2005 21:06:35 +0000 Subject: [PATCH] (pstat): Remove inappropriate plane sanity check; should be done elsewhere. --- src/lib/commands/pstat.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/commands/pstat.c b/src/lib/commands/pstat.c index 08c32593..47e64b67 100644 --- a/src/lib/commands/pstat.c +++ b/src/lib/commands/pstat.c @@ -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"); }