https://bugs.eressea.de/view.php?id=2692 inherit racial stealth from creator unit

This commit is contained in:
Enno Rehling 2020-08-16 16:00:08 +02:00
parent f1a0a7a55c
commit 6a9cea219c

View file

@ -1360,8 +1360,9 @@ unit *create_unit(region * r, faction * f, int number, const struct race *urace,
if (creator) {
attrib *a;
/* erbt Kampfstatus */
/* erbt Kampfstatus und Tarnung */
unit_setstatus(u, creator->status);
u->irace = creator->irace;
/* erbt Gebaeude/Schiff */
if (creator->region == r) {