Remove option LANDSPIES, customize table land-chr instead

Spy units are now enabled when a land unit type with capability spy
exists.  To disable them, deities have to customize table land-chr.

Before, spy units types were ignored when option LANDSPIES was
disabled.  Except for xdump land-chr, which happily dumped unusable
spy unit types.
This commit is contained in:
Markus Armbruster 2011-05-22 17:04:46 +02:00
parent 352bc320d2
commit 93edcf0ac4
9 changed files with 18 additions and 31 deletions

View file

@ -125,8 +125,6 @@ make_lchr_index(struct chr_index chridx[], int tlev)
continue;
if (lchr[i].l_tech > tlev)
continue;
if ((lchr[i].l_flags & L_SPY) && !opt_LANDSPIES)
continue;
chridx[n].type = i;
chridx[n].tech = lchr[i].l_tech;
n++;