From 6229a7a97aecede2979e3e93ed9c1523867bcee9 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 14 May 2004 20:21:46 +0000 Subject: [PATCH] (do_feed): Rev. 1.4 accidentally limited avail after rollover to 999, even when option ROLLOVER_AVAIL was off. Previous revision correctly limits rollover to rollover_avail_max, but missed the limiting after rollover. Fix. --- src/lib/update/human.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/update/human.c b/src/lib/update/human.c index 62ba9299..cc978187 100644 --- a/src/lib/update/human.c +++ b/src/lib/update/human.c @@ -139,7 +139,6 @@ do_feed(struct sctstr *sp, struct natstr *np, short *vec, pt_bg_nmbr(bp, sp, I_CIVIL, vec[I_CIVIL]); pt_bg_nmbr(bp, sp, I_UW, vec[I_UW]); pt_bg_nmbr(bp, sp, I_MILIT, vec[I_MILIT]); - if (work_avail > 999) work_avail = 999; *workp = work_avail; return sctwork; }