(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.
This commit is contained in:
parent
0e7211738f
commit
6229a7a97a
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue