forked from github/server
"Gib 0 1 Person hebelt Regionssilberschwund durch Kampf aus" removing exploit by removing reason to exploit.
This commit is contained in:
parent
75a252146e
commit
11aba3dd92
|
@ -929,10 +929,6 @@ demographics(void)
|
||||||
if (fval(r->terrain, LAND_REGION)) {
|
if (fval(r->terrain, LAND_REGION)) {
|
||||||
int rp = rpeasants(r) + r->land->newpeasants;
|
int rp = rpeasants(r) + r->land->newpeasants;
|
||||||
rsetpeasants(r, max(0, rp));
|
rsetpeasants(r, max(0, rp));
|
||||||
/* Wenn keine Bauer da ist, soll auch kein Geld da sein */
|
|
||||||
/* Martin */
|
|
||||||
if (rpeasants(r) == 0)
|
|
||||||
rsetmoney(r, 0);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue