forked from github/server
"Gib Personen an Region ohne Wirkung" - fixed previous bugfix
This commit is contained in:
parent
e37b55699c
commit
321723f69f
1 changed files with 3 additions and 3 deletions
|
@ -872,14 +872,14 @@ transfermen(unit * u, unit * u2, int n)
|
|||
if ((u->race->ec_flags & ECF_REC_ETHEREAL)==0) {
|
||||
const race * rc = u->race;
|
||||
if (rc->ec_flags & ECF_REC_HORSES) { /* Zentauren an die Pferde */
|
||||
int h = rhorses(r) + u->number;
|
||||
int h = rhorses(r) + n;
|
||||
rsethorses(r, h);
|
||||
} else {
|
||||
int p = rpeasants(r);
|
||||
if (rc == new_race[RC_URUK]){ /* Orks zählen nur zur Hälfte */
|
||||
p += u->number/2;
|
||||
p += n/2;
|
||||
} else {
|
||||
p += u->number;
|
||||
p += n;
|
||||
}
|
||||
rsetpeasants(r, p);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue