From a2a0bbad6a3b90d0329dc227fea892df04e8e712 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 13 Mar 2015 22:14:01 +0100 Subject: [PATCH] bug 2068: select familiars by race of mage, not faction. https://bugs.eressea.de/view.php?id=2068 --- src/spells.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spells.c b/src/spells.c index 82aca3720..0826c7edf 100644 --- a/src/spells.c +++ b/src/spells.c @@ -545,7 +545,7 @@ static int sp_summon_familiar(castorder * co) cmistake(mage, co->order, 199, MSG_MAGIC); return 0; } - rc = select_familiar(mage->faction->race, mage->faction->magiegebiet); + rc = select_familiar(mage->_race, mage->faction->magiegebiet); if (rc == NULL) { log_error("could not find suitable familiar for %s.\n", mage->faction->race->_name); return 0;