forked from github/server
personen mit racename können eh nicht übergeben werden, code kann man sich sparen.
This commit is contained in:
parent
af2dadfc8e
commit
f09bed10b7
1 changed files with 0 additions and 3 deletions
|
@ -531,9 +531,6 @@ message * give_men(int n, unit * u, unit * u2, struct order *ord)
|
||||||
|
|
||||||
if (u2->number == 0) {
|
if (u2->number == 0) {
|
||||||
const race* rc = u_race(u);
|
const race* rc = u_race(u);
|
||||||
if (rc->flags & RCF_SHAPESHIFT) {
|
|
||||||
set_racename(&u2->attribs, get_racename(u->attribs));
|
|
||||||
}
|
|
||||||
u_setrace(u2, rc);
|
u_setrace(u2, rc);
|
||||||
if (rc == get_race(RC_DAEMON)) {
|
if (rc == get_race(RC_DAEMON)) {
|
||||||
u2->irace = u->irace;
|
u2->irace = u->irace;
|
||||||
|
|
Loading…
Reference in a new issue