forked from github/server
- fixed recruitment of demons costing peasants
This commit is contained in:
parent
bdcefcb135
commit
d4cf3cdee2
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ select_recruitment(request ** rop, int (*quantify)(const struct race*, int), int
|
|||
recruitment * rec = recruits;
|
||||
request * ro = *rop;
|
||||
unit * u = ro->unit;
|
||||
const race * rc = u->number?u->race:u->faction->race;
|
||||
const race * rc = u->race;
|
||||
int qty = quantify(rc, ro->qty);
|
||||
|
||||
if (qty<0) {
|
||||
|
|
Loading…
Reference in a new issue