From 15a1a061019753d8a961e800153ef1c18b52c8ed Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 14 Jun 2006 18:14:40 +0000 Subject: [PATCH] Doc fix. --- src/lib/commands/newe.c | 2 -- src/lib/common/stmtch.c | 2 +- src/lib/update/sect.c | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/commands/newe.c b/src/lib/commands/newe.c index 4a2da9e2..d62f85d1 100644 --- a/src/lib/commands/newe.c +++ b/src/lib/commands/newe.c @@ -73,8 +73,6 @@ newe(void) 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, diff --git a/src/lib/common/stmtch.c b/src/lib/common/stmtch.c index 27f00501..0d697a64 100644 --- a/src/lib/common/stmtch.c +++ b/src/lib/common/stmtch.c @@ -37,7 +37,7 @@ #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. diff --git a/src/lib/update/sect.c b/src/lib/update/sect.c index 8a294187..df61432b 100644 --- a/src/lib/update/sect.c +++ b/src/lib/update/sect.c @@ -263,7 +263,7 @@ decay_fallout(struct sctstr *sp, int etus) } /* - * 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])