"Gib Personen an Region ohne Wirkung"
- fixed previous bugfix
This commit is contained in:
Enno Rehling 2008-02-12 17:59:41 +00:00
parent e37b55699c
commit 321723f69f

View file

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