(dchr): Negative d_cost now means that only deity can designate.

(nullify_objects, do_desi): Simpify designate restrictions of options
NO_LCMS, NO_HCMS, NO_OIL.

(show_sect_build): Suppress printing of sectors only deity can
designate.  This was broken in rev. 1.15.
This commit is contained in:
Ron Koenderink 2004-10-29 01:38:06 +00:00
parent 8179063330
commit 8d792e1b9f
4 changed files with 26 additions and 53 deletions

View file

@ -627,6 +627,8 @@ show_sect_build(int foo)
for (x = 0; x <= SCT_MAXDEF; x++) {
if (dchr[x].d_mnem == 0)
continue;
if (dchr[x].d_cost < 0)
continue;
if ((dchr[x].d_cost > 0) || (dchr[x].d_build != 1) ||
(dchr[x].d_lcms > 0) || (dchr[x].d_hcms > 0)) {