(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
|
@ -62,11 +62,6 @@ fort(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;
|
||||
}
|
||||
|
||||
getland(land.lnd_uid, &land);
|
||||
if (land.lnd_mobil < 0)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue