I'm really bad at reading. Fixed!

This commit is contained in:
Enno Rehling 2016-01-31 22:17:55 +01:00
parent ca81dadedb
commit ba39fc9284
1 changed files with 1 additions and 1 deletions

View File

@ -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;