personen mit racename können eh nicht übergeben werden, code kann man sich sparen.

This commit is contained in:
Enno Rehling 2021-01-07 21:05:23 +01:00
parent af2dadfc8e
commit f09bed10b7

View file

@ -531,9 +531,6 @@ message * give_men(int n, unit * u, unit * u2, struct order *ord)
if (u2->number == 0) {
const race* rc = u_race(u);
if (rc->flags & RCF_SHAPESHIFT) {
set_racename(&u2->attribs, get_racename(u->attribs));
}
u_setrace(u2, rc);
if (rc == get_race(RC_DAEMON)) {
u2->irace = u->irace;