diff --git a/src/lib/update/human.c b/src/lib/update/human.c index 075a18ec..12498972 100644 --- a/src/lib/update/human.c +++ b/src/lib/update/human.c @@ -284,6 +284,9 @@ babies(int adults, int etu, double brate, int food, int maxpop) { int new_birth, new_food, new; + if (adults >= maxpop) + return 0; + new_birth = roundavg(brate * etu * adults); if (opt_NOFOOD) new_food = new_birth;