increase speed of peasant growth calculation

This commit is contained in:
Steffen Mecke 2015-01-13 02:39:38 +01:00
parent 9f9043e4dd
commit dff34f8e92
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ static void peasants(region * r)
glueck = a->data.i * 1000;
}
for (n = peasants; n; --n) {
for (n = peasants; n && glueck; --n) {
int chances = 0;
if (glueck > 0) {