forked from github/server
increase speed of peasant growth calculation
This commit is contained in:
parent
9f9043e4dd
commit
dff34f8e92
|
@ -285,7 +285,7 @@ static void peasants(region * r)
|
||||||
glueck = a->data.i * 1000;
|
glueck = a->data.i * 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (n = peasants; n; --n) {
|
for (n = peasants; n && glueck; --n) {
|
||||||
int chances = 0;
|
int chances = 0;
|
||||||
|
|
||||||
if (glueck > 0) {
|
if (glueck > 0) {
|
||||||
|
|
Loading…
Reference in New Issue