uws = (1.0 + uwbrate * etu_per_update) * sect.sct_item[I_UW];
natp = getnatp(sect.sct_own);
maxpop = max_pop(natp->nat_level[NAT_RLEV], §);
- /* This isn't quite right, since research might rise/fall */
- /* during the update, but it's the best we can really do */
work = new_work(§,
total_work(sect.sct_work, etu_per_update,
civs, sect.sct_item[I_MILIT], uws,
#include "match.h"
/*
- * Find NEEDLE in array HAYSTACK[], return its index.
+ * Find element named NEEDLE in array HAYSTACK[], return its index.
* Return M_NOTFOUND if there are no matches, M_NOTUNIQUE if there are
* several.
* Each array element has a pointer to its name stored at offset OFFS.
}
/*
- * Produce only a set sector type for a specific nation
+ * Produce for a specific nation
*/
void
produce_sect(int natnum, int etu, int *bp, long p_sect[][2])