(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:
parent
a7aea6c468
commit
190cbaadf2
13 changed files with 0 additions and 69 deletions
|
@ -52,10 +52,6 @@ lsta(void)
|
|||
while (nxtitem(&ni, &land)) {
|
||||
if (!player->owner || land.lnd_own == 0)
|
||||
continue;
|
||||
if (land.lnd_type < 0 || land.lnd_type > lnd_maxno) {
|
||||
pr("bad unit type %d (#%d)\n", land.lnd_type, ni.cur);
|
||||
continue;
|
||||
}
|
||||
count_land_planes(&land);
|
||||
|
||||
if (nunits++ == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue