(max_pop): Clarify code. No functional changes.

This commit is contained in:
Markus Armbruster 2004-08-17 14:46:40 +00:00
parent 921a55d508
commit 15d4f89951

View file

@ -50,9 +50,8 @@ max_pop(float research, struct sctstr *sp)
int maxpop = 999; int maxpop = 999;
if (opt_RES_POP) { if (opt_RES_POP) {
maxpop = maxpop = 400 + 600 * ((50.0 + 4.0 * research)
(((50.0 + 4.0 * research) / (200.0 + / (200.0 + 3.0 * research));
3.0 * research)) * 600.0) + 400;
if (maxpop > 999) if (maxpop > 999)
maxpop = 999; maxpop = 999;
} }