forked from github/server
regionsname mit in Bauernlog
This commit is contained in:
parent
5b4487db03
commit
6f835b6447
|
@ -2513,8 +2513,8 @@ peasant_adjustment(void)
|
||||||
p_weg = (int)(min(((playerp * PLWEIGHT) + rpeasants(r)) - soll, rpeasants(r)));
|
p_weg = (int)(min(((playerp * PLWEIGHT) + rpeasants(r)) - soll, rpeasants(r)));
|
||||||
assert(p_weg >= 0);
|
assert(p_weg >= 0);
|
||||||
if (p_weg > 0){
|
if (p_weg > 0){
|
||||||
log_printf("BAUERN: war %d, minus %d, playerp %d\n",
|
log_printf("BAUERN %s: war %d, minus %d, playerp %d\n",
|
||||||
rpeasants(r), p_weg, playerp);
|
regionname(r, NULL), rpeasants(r), p_weg, playerp);
|
||||||
}
|
}
|
||||||
pool += p_weg;
|
pool += p_weg;
|
||||||
rsetpeasants(r, rpeasants(r) - p_weg);
|
rsetpeasants(r, rpeasants(r) - p_weg);
|
||||||
|
|
Loading…
Reference in New Issue