(max_pop): Clarify code. No functional changes.
This commit is contained in:
parent
921a55d508
commit
15d4f89951
1 changed files with 2 additions and 3 deletions
|
@ -50,9 +50,8 @@ max_pop(float research, struct sctstr *sp)
|
|||
int maxpop = 999;
|
||||
|
||||
if (opt_RES_POP) {
|
||||
maxpop =
|
||||
(((50.0 + 4.0 * research) / (200.0 +
|
||||
3.0 * research)) * 600.0) + 400;
|
||||
maxpop = 400 + 600 * ((50.0 + 4.0 * research)
|
||||
/ (200.0 + 3.0 * research));
|
||||
if (maxpop > 999)
|
||||
maxpop = 999;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue