Item production is limited to 999 units, level production is
unlimited.
Commit
0e721173 (v4.2.15) changed prod() from no limit to 999 units,
which fixed it for items, and broke it for levels. Undo the change
for levels.
* Known contributors to this file:
* David Muir Sharnoff, 1987
* Steve McClure, 1997-2000
* Known contributors to this file:
* David Muir Sharnoff, 1987
* Steve McClure, 1997-2000
- * Markus Armbruster, 2004-2006
+ * Markus Armbruster, 2004-2008
- real = MIN(999.0, (double)act * prodeff);
- maxr = MIN(999.0, (double)max * prodeff);
+ real = (double)act * prodeff;
+ maxr = (double)max * prodeff;
+ real = MIN(999.0, real);
+ maxr = MIN(999.0, maxr);
if (real < 0.0)
real = 0.0;
/* production backlog? */
if (real < 0.0)
real = 0.0;
/* production backlog? */