From ba39fc9284357d3c6d20df17875321f0d23a8629 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 31 Jan 2016 22:17:55 +0100 Subject: [PATCH] I'm really bad at reading. Fixed! --- src/laws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/laws.c b/src/laws.c index c3be6f136..eb079b8ac 100755 --- a/src/laws.c +++ b/src/laws.c @@ -712,7 +712,7 @@ void immigration(void) /* if less than 50 are in the region and there is space and no monster or demon units in the region */ if (repopulate) { int peasants = rpeasants(r); - int income = wage(r, NULL, NULL, turn) - maintenance_cost(NULL); + int income = wage(r, NULL, NULL, turn) - maintenance_cost(NULL) + 1; if (income >= 0 && r->land && (peasants < repopulate) && maxworkingpeasants(r) >(peasants + 30) * 2) { int badunit = 0; unit *u;