From 6a9cea219c0da951009ecce5697bfeb5d778c18a Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 16 Aug 2020 16:00:08 +0200 Subject: [PATCH] https://bugs.eressea.de/view.php?id=2692 inherit racial stealth from creator unit --- src/kernel/unit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kernel/unit.c b/src/kernel/unit.c index bb289084a..4b45ccea4 100644 --- a/src/kernel/unit.c +++ b/src/kernel/unit.c @@ -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) {