(carg, lcarg, fort, land, ldump, lsta, orde, payo, retr, lretr)

(cmd_sail_ship, cmd_unsail_ship, show_sail, sdump, shi, sstat, work):
Remove inappropriate ship/land sanity checks; should be done
elsewhere.
This commit is contained in:
Markus Armbruster 2005-11-06 20:54:59 +00:00
parent a7aea6c468
commit 190cbaadf2
13 changed files with 0 additions and 69 deletions

View file

@ -56,10 +56,6 @@ carg(void)
continue;
if ((player->cnum != ship.shp_own) && !player->god)
continue;
if (ship.shp_type < 0 || ship.shp_type > shp_maxno) {
pr("bad ship type %d (#%d)\n", ship.shp_type, ni.cur);
continue;
}
if (nships++ == 0)
pr("shp# ship type x,y flt eff sh gun pet irn dst bar oil lcm hcm rad\n");
pr("%4d ", ni.cur);
@ -106,10 +102,6 @@ lcarg(void)
continue;
if ((player->cnum != land.lnd_own) && !player->god)
continue;
if (land.lnd_type < 0 || land.lnd_type > lnd_maxno) {
pr("bad unit type %d (#%d)\n", land.lnd_type, ni.cur);
continue;
}
if (nunits++ == 0)
pr("lnd# unit type x,y a eff sh gun pet irn dst bar oil lcm hcm rad\n");
pr("%4d ", ni.cur);